Share via


CapturedSql.Text Property

Gets the captured Transact-SQL commands in the buffer.

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

Syntax

'Declaration
Public ReadOnly Property Text As StringCollection 
    Get
'Usage
Dim instance As CapturedSql 
Dim value As StringCollection 

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

Property Value

Type: StringCollection
A StringCollection system object value that contains the captured Transact-SQL commands.

Examples

Using Capture Mode

See Also

Reference

CapturedSql Class

Microsoft.SqlServer.Management.Common Namespace