Метод 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
)
Параметры
- server
Тип: Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object that specifies the instance of SQL Server on which to execute the batch of Transact-SQL statements.
- queries
Тип: System.Collections.Specialized. . :: . .StringCollection
A StringCollection system object that contains the batch of Transact-SQL statements to be executed.
См. также