Walter.DataTools.MsSql
ExecuteStatementsAsync Method
Walter.DataTools.MsSql Assembly > Walter.DataTools.MsSql Namespace > IDatabaseTools Interface : ExecuteStatementsAsync Method
the SQL batch to execute
Propagates notification that operations should be canceled.
Execute a batch of statements
Syntax
Task ExecuteStatementsAsync( 
   string[] tsql,
   CancellationToken cancellationToken
)

Parameters

tsql
the SQL batch to execute
cancellationToken
Propagates notification that operations should be canceled.
Exceptions
ExceptionDescription
informs on the statements that failed
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IDatabaseTools Interface
IDatabaseTools Members