Partager via


ExecuteSqlAsync méthode

Executes a batch of Transact-SQL statements asynchronously that does not expect a returned results set on the specified instance of SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (dans Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Protected Sub ExecuteSqlAsync ( _
    server As Server, _
    queries As StringCollection _
)
'Utilisation
Dim server As Server
Dim queries As StringCollection

Me.ExecuteSqlAsync(server, queries)
protected void ExecuteSqlAsync(
    Server server,
    StringCollection queries
)
protected:
void ExecuteSqlAsync(
    Server^ server, 
    StringCollection^ queries
)
member ExecuteSqlAsync : 
        server:Server * 
        queries:StringCollection -> unit 
protected function ExecuteSqlAsync(
    server : Server, 
    queries : StringCollection
)

Paramètres