共用方式為


ConnectionManager.CapturedSql 屬性

Gets the Transact-SQL statements that are captured when the connection is running in capture mode.

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
Public ReadOnly Property CapturedSql As CapturedSql 
    Get
'用途
Dim instance As ConnectionManager 
Dim value As CapturedSql 

value = instance.CapturedSql
public CapturedSql CapturedSql { get; }
public:
property CapturedSql^ CapturedSql {
    CapturedSql^ get ();
}
member CapturedSql : CapturedSql
function get CapturedSql () : CapturedSql

屬性值

型別:Microsoft.SqlServer.Management.Common.CapturedSql
A CapturedSql object value that contains the captured Transact-SQL statements.

範例

使用擷取模式

請參閱

參考

ConnectionManager 類別

Microsoft.SqlServer.Management.Common 命名空間