Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting result from the output window
Message
From
10/03/2011 10:27:06
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Getting result from the output window
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01503170
Message ID:
01503170
Views:
94
If I execute a script like this to execute against SQL Server:
' Initialize the SMO object
loSQLConnection = New SqlConnection(lcConnectionString)
loServerConnection = New ServerConnection(loSQLConnection)
loServer = New Server(loServerConnection)

' Execute the script
loServer.ConnectionContext.ExecuteNonQuery(lcScript)
Would there be a way to capture the output from the Messages tab, which is usually applicable when we execute the script in the SSMS?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform