Classe NonQueryResult
Represents the results from a call to the ExecuteNonQuery method.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.SqlServer.Management.MultiServerConnection. . :: . .ResultInfo
Microsoft.SqlServer.Management.MultiServerConnection..::..NonQueryResult
Espace de noms : Microsoft.SqlServer.Management.MultiServerConnection
Assembly : Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntaxe
'Déclaration
Public NotInheritable Class NonQueryResult _
Inherits ResultInfo
'Utilisation
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
Le type NonQueryResult expose les membres suivants.
Propriétés
| Nom | Description | |
|---|---|---|
![]() |
BatchStartingLine | Gets the starting line of the batch in the editor. (hérité de ResultInfo.) |
![]() |
BatchText | Gets the text of the Transact-SQL batch that was executed. (hérité de ResultInfo.) |
![]() |
CompletedSuccessfully | Gets True if execution was successful, False if there was an exception. (hérité de ResultInfo.) |
![]() |
ConnectionInfo | Gets the connection info of the connection producing the result. (hérité de ResultInfo.) |
![]() |
Exception | Gets or sets the exception that was thrown while executing the Transact-SQL. (hérité de ResultInfo.) |
![]() |
ExecutionTime | Gets or sets the amount of client wall-time it took to get the result back from the server. (hérité de ResultInfo.) |
![]() |
LoginName | Gets the name of the login executing the batch. (hérité 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. (hérité de ResultInfo.) |
![]() |
ServerName | Gets the name of the server where the batch was executed. (hérité de ResultInfo.) |
![]() |
StartTime | Gets or sets the time when the batch was submitted. (hérité de ResultInfo.) |
Haut de la page
Méthodes
| Nom | Description | |
|---|---|---|
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetType | (hérité de Object.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | Gets the string representation of the current object. (remplace Object. . :: . .ToString() () () ().) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
.gif)
.gif)
.gif)