Dela via


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.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ExecutionTypes
'Usage
Dim instance As ExecutionTypes
[FlagsAttribute]
public enum ExecutionTypes
[FlagsAttribute]
public enum class ExecutionTypes
[<FlagsAttribute>]
type ExecutionTypes
public enum ExecutionTypes

Members

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

Remarks

The ExecutionTypes class is served by the ExecuteNonQuery method.