Add 方法

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

命名空间:  Microsoft.SqlServer.Management.Common
程序集:  Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)

语法

声明
Public Sub Add ( _
    sqlStatement As String _
)
用法
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
)

参数