共用方式為


BatchText 屬性

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

命名空間:  Microsoft.SqlServer.Management.MultiServerConnection
組件:  Microsoft.SqlServer.Management.MultiServerConnection (在 Microsoft.SqlServer.Management.MultiServerConnection.dll 中)

語法

'宣告
Public ReadOnly Property BatchText As String
    Get
'用途
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

屬性值

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

實作

IResultInfo. . :: . .BatchText