Classe NonQueryResult
Represents the results from a call to the ExecuteNonQuery method.
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Management.MultiServerConnection. . :: . .ResultInfo
Microsoft.SqlServer.Management.MultiServerConnection..::..NonQueryResult
Namespace: Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (em Microsoft.SqlServer.Management.MultiServerConnection.dll)
Sintaxe
'Declaração
Public NotInheritable Class NonQueryResult _
Inherits ResultInfo
'Uso
Dim instance As NonQueryResult
public sealed class NonQueryResult : ResultInfo
public ref class NonQueryResult sealed : public ResultInfo
[<SealedAttribute>]
type NonQueryResult =
class
inherit ResultInfo
end
public final class NonQueryResult extends ResultInfo
O tipo NonQueryResult expõe os membros a seguir.
Propriedades
Nome | Descrição | |
---|---|---|
![]() |
BatchStartingLine | Gets the starting line of the batch in the editor. (Herdado de ResultInfo.) |
![]() |
BatchText | Gets the text of the Transact-SQL batch that was executed. (Herdado de ResultInfo.) |
![]() |
CompletedSuccessfully | Gets True if execution was successful, False if there was an exception. (Herdado de ResultInfo.) |
![]() |
ConnectionInfo | Gets the connection info of the connection producing the result. (Herdado de ResultInfo.) |
![]() |
Exception | Gets or sets the exception that was thrown while executing the Transact-SQL. (Herdado de ResultInfo.) |
![]() |
ExecutionTime | Gets or sets the amount of client wall-time it took to get the result back from the server. (Herdado de ResultInfo.) |
![]() |
LoginName | Gets the name of the login executing the batch. (Herdado de ResultInfo.) |
![]() |
RowsAffected | Gets or sets the number of rows that are affected by the ExecuteNonQuery method. |
![]() |
ServerDisplayName | Gets the display name of the server where the batch was executed. (Herdado de ResultInfo.) |
![]() |
ServerName | Gets the name of the server where the batch was executed. (Herdado de ResultInfo.) |
![]() |
StartTime | Gets or sets the time when the batch was submitted. (Herdado de ResultInfo.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
![]() |
Equals | (Herdado de Object.) |
![]() |
Finalize | (Herdado de Object.) |
![]() |
GetHashCode | (Herdado de Object.) |
![]() |
GetType | (Herdado de Object.) |
![]() |
MemberwiseClone | (Herdado de Object.) |
![]() |
ToString | Gets the string representation of the current object. (Substitui Object. . :: . .ToString() () () ().) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.