Share via


IResultInfo.BatchText Property

Gets 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
ReadOnly Property BatchText As String
    Get
'Usage
Dim instance As IResultInfo
Dim value As String

value = instance.BatchText
string BatchText { get; }
property String^ BatchText {
    String^ get ();
}
abstract BatchText : string
function get BatchText () : String

Property Value

Type: System.String
A String containing the text of the Transact-SQL batch.