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)

public StringCollection Text { get; }

Property Value

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

Community Additions

Show: