Поделиться через


Перечисление SqlExecutionModes

The SqlExecutionModes enumeration contains values that are used to specify whether the commands sent to the referenced connection to the server are executed immediately or saved in a buffer.

Это перечисление имеет атрибут FlagsAttribute, допускающий побитовое сочетание значений его элементов.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
<FlagsAttribute> _
Public Enumeration SqlExecutionModes
'Применение
Dim instance As SqlExecutionModes
[FlagsAttribute]
public enum SqlExecutionModes
[FlagsAttribute]
public enum class SqlExecutionModes
[<FlagsAttribute>]
type SqlExecutionModes
public enum SqlExecutionModes

Элементы

Имя элемента Описание
CaptureSql Transact-SQL statements that are sent to the referenced connection to the server are saved in a buffer.
ExecuteAndCaptureSql Transact-SQL statements that are sent to the referenced connection to the server are both saved in a buffer and forwarded to the server for immediate execution.
ExecuteSql Transact-SQL statements that are sent to the referenced connection to the server are forwarded to the server for immediate execution.

Замечания

The SqlExecutionModes enumeration class is served by the SqlExecutionModes property.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Common