Share via


ResultInfo.BatchText Property

Gets the text of the Transact-SQL batch that was executed.

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntax

'Declaration
Public ReadOnly Property BatchText As String
    Get
'Usage
Dim instance As ResultInfo
Dim value As String

value = instance.BatchText
public string BatchText { get; }
public:
virtual property String^ BatchText {
    String^ get () sealed;
}
abstract BatchText : string
override BatchText : string
final function get BatchText () : String

Property Value

Type: System.String
A String that contains the text of the executed Transact-SQL batch.

Implements

IResultInfo.BatchText