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