Compartilhar via


Método Add

Adds a Transact-SQL statement to the captured Transact-SQL commands in the buffer.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
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