Add-Methode
Adds a Transact-SQL statement to the captured Transact-SQL commands in the buffer.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Public Sub Add ( _
sqlStatement As String _
)
'Usage
Dim instance As CapturedSql
Dim sqlStatement As String
instance.Add(sqlStatement)
public void Add(
string sqlStatement
)
public:
void Add(
String^ sqlStatement
)
member Add :
sqlStatement:string -> unit
public function Add(
sqlStatement : String
)
Parameter
- sqlStatement
Typ: System. . :: . .String
A String value that specifies the Transact-SQL statement.