Condividi tramite


Metodo Add

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

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
Public Sub Add ( _
    sqlStatement As String _
)
'Utilizzo
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
)

Parametri