ConnectionManager.CapturedSql Property

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

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public ReadOnly Property CapturedSql As CapturedSql 
    Get
'Usage
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

Property Value

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

Examples

Using Capture Mode

See Also

Reference

ConnectionManager Class

Microsoft.SqlServer.Management.Common Namespace