ExecutionTypes 枚举

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.

此枚举具有可以使用其成员值位组合的 FlagsAttribute 属性。

命名空间:  Microsoft.SqlServer.Management.Common
程序集:  Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)

语法

声明
<FlagsAttribute> _
Public Enumeration ExecutionTypes
用法
Dim instance As ExecutionTypes
[FlagsAttribute]
public enum ExecutionTypes
[FlagsAttribute]
public enum class ExecutionTypes
[<FlagsAttribute>]
type ExecutionTypes
public enum ExecutionTypes

成员

成员名称 说明
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.

示例

使用捕获模式

请参阅

参考

Microsoft.SqlServer.Management.Common 命名空间