Share via


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 命名空间