SqlExecutionModes Enumeration

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.

Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Sintaxis

'Declaración
<FlagsAttribute> _
Public Enumeration SqlExecutionModes
[FlagsAttribute] 
public enum SqlExecutionModes
[FlagsAttribute] 
public enum class SqlExecutionModes
/** @attribute FlagsAttribute() */ 
public enum SqlExecutionModes
FlagsAttribute 
public enum SqlExecutionModes

Members

Member name Description
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.

Notas

The SqlExecutionModes enumeration class is served by the SqlExecutionModes property.

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Microsoft.SqlServer.Management.Common Namespace