TechNet
Export (0) Print
Expand All

ResultInfo Class

 

Represents the results from executing a Transact-SQL batch.

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

System.Object
  Microsoft.SqlServer.Management.MultiServerConnection.ResultInfo
    Microsoft.SqlServer.Management.MultiServerConnection.NonQueryResult

public class ResultInfo : IResultInfo

NameDescription
System_CAPS_pubmethodResultInfo(IResultInfo)

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

System_CAPS_pubmethodResultInfo(MultiServerSqlConnectionInfo, String, Int32)

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

NameDescription
System_CAPS_pubpropertyBatchStartingLine

Gets the starting line of the batch in the editor.

System_CAPS_pubpropertyBatchText

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

System_CAPS_pubpropertyCompletedSuccessfully

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

System_CAPS_pubpropertyConnectionInfo

Gets the connection info of the connection producing the result.

System_CAPS_pubpropertyException

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

System_CAPS_pubpropertyExecutionTime

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

System_CAPS_pubpropertyLoginName

Gets the name of the login executing the batch.

System_CAPS_pubpropertyServerDisplayName

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

System_CAPS_pubpropertyServerName

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

System_CAPS_pubpropertyStartTime

Gets or sets the time when the batch was submitted.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft