Export (0) Print
Expand All

ResultInfo Class

Represents the results from executing a Transact-SQL batch.

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

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

public class ResultInfo : IResultInfo

The ResultInfo type exposes the following members.

  NameDescription
Public methodResultInfo(IResultInfo)Initializes a new instance of the ResultInfo class that is a copy of the specified ResultInfo object.
Public methodResultInfo(MultiServerSqlConnectionInfo, String, Int32)Initializes a new instance of the ResultInfo class by using the specified connection information, text, and starting line number.
Top

  NameDescription
Public propertyBatchStartingLineGets the starting line of the batch in the editor.
Public propertyBatchTextGets the text of the Transact-SQL batch that was executed.
Public propertyCompletedSuccessfullyGets True if execution was successful, False if there was an exception.
Public propertyConnectionInfoGets the connection info of the connection producing the result.
Public propertyExceptionGets or sets the exception that was thrown while executing the Transact-SQL.
Public propertyExecutionTimeGets or sets the amount of client wall-time it took to get the result back from the server.
Public propertyLoginNameGets the name of the login executing the batch.
Public propertyServerDisplayNameGets the display name of the server where the batch was executed.
Public propertyServerNameGets the name of the server where the batch was executed.
Public propertyStartTimeGets or sets the time when the batch was submitted.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft