ResultInfo ResultInfo ResultInfo Class

Definition

Represents the results from executing a Transact-SQL batch.

public ref class ResultInfo : Microsoft::SqlServer::Management::MultiServerConnection::IResultInfo
public class ResultInfo : Microsoft.SqlServer.Management.MultiServerConnection.IResultInfo
Public Class ResultInfo
Implements IResultInfo
Inheritance
ResultInfoResultInfoResultInfo
Derived
Implements

Constructors

ResultInfo(IResultInfo) ResultInfo(IResultInfo) ResultInfo(IResultInfo)

Initializes a new instance of the ResultInfo class that is a copy of the specified ResultInfo object.

ResultInfo(MultiServerSqlConnectionInfo, String, Int32) ResultInfo(MultiServerSqlConnectionInfo, String, Int32) ResultInfo(MultiServerSqlConnectionInfo, String, Int32)

Initializes a new instance of the ResultInfo class by using the specified connection information, text, and starting line number.

Properties

BatchStartingLine BatchStartingLine BatchStartingLine

Gets the starting line of the batch in the editor.

BatchText BatchText BatchText

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

CompletedSuccessfully CompletedSuccessfully CompletedSuccessfully

Gets True if execution was successful, False if there was an exception.

ConnectionInfo ConnectionInfo ConnectionInfo

Gets the connection info of the connection producing the result.

Exception Exception Exception

Gets or sets the exception that was thrown while executing the Transact-SQL.

ExecutionTime ExecutionTime ExecutionTime

Gets or sets the amount of client wall-time it took to get the result back from the server.

LoginName LoginName LoginName

Gets the name of the login executing the batch.

ServerDisplayName ServerDisplayName ServerDisplayName

Gets the display name of the server where the batch was executed.

ServerName ServerName ServerName

Gets the name of the server where the batch was executed.

StartTime StartTime StartTime

Gets or sets the time when the batch was submitted.

Applies to