Share via


ExecuteSqlAsync 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Protected Sub ExecuteSqlAsync ( _
    server As Server, _
    queries As StringCollection _
)
'用途
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
)

參數