Share via


IResultInfo Interface

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

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntax

'Declaration
Public Interface IResultInfo
'Usage
Dim instance As IResultInfo
public interface IResultInfo
public interface class IResultInfo
type IResultInfo =  interface end
public interface IResultInfo

The IResultInfo type exposes the following members.

Properties

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

Top