共用方式為


ExecutionTypes Enumeration

The ExecutionTypes enumeration contains values that are used to specify execution options for the Transact-SQL commands sent to the server using the referenced connection.

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

語法

'宣告
<FlagsAttribute> _
Public Enumeration ExecutionTypes
[FlagsAttribute] 
public enum ExecutionTypes
[FlagsAttribute] 
public enum class ExecutionTypes
/** @attribute FlagsAttribute() */ 
public enum ExecutionTypes
FlagsAttribute 
public enum ExecutionTypes

Members

Member name Description
ContinueOnError Continue execution after an error occurs.
Default Default execution path.
NoCommands No executable commands.
NoExec No execution.
ParseOnly Parse the executable commands only.
QuotedIdentifierOn Identifiers are used to delimit commands.

備註

The ExecutionTypes class is served by the ExecuteNonQuery method.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

範例

How to: Enable Capture Mode in Visual Basic .NET

平台

開發平台

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

目標平台

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

請參閱

參考

Microsoft.SqlServer.Management.Common Namespace