CapturedSql.Add Método
Adds a Transact-SQL statement to the captured Transact-SQL commands in the buffer.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
Public Sub Add ( _
sqlStatement As String _
)
'Uso
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
)
Parámetros
- sqlStatement
Tipo: System.String
A String value that specifies the Transact-SQL statement.