Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

BackupRestoreBase.ExecuteSqlAsync Method

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
protected void ExecuteSqlAsync(
	Server server,
	StringCollection queries
)

Parameters

server
Type: 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
Type: System.Collections.Specialized.StringCollection
A StringCollection system object that contains the batch of Transact-SQL statements to be executed.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.