共用方式為


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.

命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

語法

'宣告
<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.

備註

The SqlExecutionModes enumeration class is served by the SqlExecutionModes property.

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Common Namespace