共用方式為


IResultInfo 介面

Represents the execution results of a batch of Transact-SQL statements.

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

語法

'宣告
Public Interface IResultInfo
'用途
Dim instance As IResultInfo
public interface IResultInfo
public interface class IResultInfo
type IResultInfo =  interface end
public interface IResultInfo

IResultInfo 型別公開下列成員。

屬性

  名稱 說明
公用屬性 BatchStartingLine Gets the starting line of the batch.
公用屬性 BatchText Gets text of the Transact-SQL batch that was executed.
公用屬性 CompletedSuccessfully Gets a value indicating whether the execution was successful.
公用屬性 ConnectionInfo Gets the connection information of the connection producing the result.
公用屬性 Exception Gets the exception that was thrown while executing the batch.
公用屬性 ExecutionTime Gets the amount of client wall-time used before the server returned the execution result.
公用屬性 LoginName Gets the name of the login executing the batch.
公用屬性 ServerDisplayName Gets the display name of the server on which the batch was executed.
公用屬性 ServerName Gets the name of the server on which the batch was executed.
公用屬性 StartTime Gets the time when the batch was submitted.

上層