Compartilhar via


Interface IResultInfo

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

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

Sintaxe

'Declaração
Public Interface IResultInfo
'Uso
Dim instance As IResultInfo
public interface IResultInfo
public interface class IResultInfo
type IResultInfo =  interface end
public interface IResultInfo

O tipo IResultInfo expõe os membros a seguir.

Propriedades

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

Início