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. |
页首