Partager via


Add méthode

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

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (dans Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Public Sub Add ( _
    sqlStatement As String _
)
'Utilisation
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
)

Paramètres