Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting result from the output window
Message
 
 
To
10/03/2011 10:27:06
General information
Forum:
ASP.NET
Category:
Other
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:
01503171
Views:
61
This message has been marked as the solution to the initial question of the thread.
>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?

Check http://forums.asp.net/p/1347665/2743340.aspx#2743340
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform