Класс NonQueryResult
Represents the results from a call to the ExecuteNonQuery method.
Иерархия наследования
System. . :: . .Object
Microsoft.SqlServer.Management.MultiServerConnection. . :: . .ResultInfo
Microsoft.SqlServer.Management.MultiServerConnection..::..NonQueryResult
Пространство имен: Microsoft.SqlServer.Management.MultiServerConnection
Сборка: Microsoft.SqlServer.Management.MultiServerConnection (в Microsoft.SqlServer.Management.MultiServerConnection.dll)
Синтаксис
'Декларация
Public NotInheritable Class NonQueryResult _
Inherits ResultInfo
'Применение
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
Тип NonQueryResult обеспечивает доступ к следующим элементам.
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
BatchStartingLine | Gets the starting line of the batch in the editor. (Производный от ResultInfo.) |
![]() |
BatchText | Gets the text of the Transact-SQL batch that was executed. (Производный от ResultInfo.) |
![]() |
CompletedSuccessfully | Gets True if execution was successful, False if there was an exception. (Производный от ResultInfo.) |
![]() |
ConnectionInfo | Gets the connection info of the connection producing the result. (Производный от ResultInfo.) |
![]() |
Exception | Gets or sets the exception that was thrown while executing the Transact-SQL. (Производный от ResultInfo.) |
![]() |
ExecutionTime | Gets or sets the amount of client wall-time it took to get the result back from the server. (Производный от ResultInfo.) |
![]() |
LoginName | Gets the name of the login executing the batch. (Производный от 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. (Производный от ResultInfo.) |
![]() |
ServerName | Gets the name of the server where the batch was executed. (Производный от ResultInfo.) |
![]() |
StartTime | Gets or sets the time when the batch was submitted. (Производный от ResultInfo.) |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | Gets the string representation of the current object. (Переопределяет Object. . :: . .ToString() () () ().) |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)