Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting result from the output window
Message
 
 
À
10/03/2011 10:27:06
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01503170
Message ID:
01503171
Vues:
60
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform