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: System.Collections.Specialized.StringCollection
A StringCollection system object value that contains the captured Transact-SQL commands.