Partager via


Propriété BatchText

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

Espace de noms :  Microsoft.SqlServer.Management.MultiServerConnection
Assembly :  Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntaxe

'Déclaration
Public ReadOnly Property BatchText As String
    Get
'Utilisation
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

Valeur de propriété

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

Implémente

IResultInfo. . :: . .BatchText