CapturedSql.Text Property
SQL Server 2012
Gets the captured Transact-SQL commands in the buffer.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Property Value
Type: System.Collections.Specialized.StringCollectionA StringCollection system object value that contains the captured Transact-SQL commands.