共用方式為


ManagedBatchParser Namespace

The ManagedBatchParser namespace. Contains the managed batch parser interfaces that are used by the Transact-SQL editor for sqlcmd-mode operations or for basic editing.

Classes

Parser

Defines the methods that control the parser behavior.

ParserException

Defines methods for handling parser exceptions.

ParserState

Provides information about the parser state.

Interfaces

IBatchSource

Defines a method to get data into the parser.

ICommandExecuter

Defines methods that are used to execute commands in the parser.

ICommandExecuter2

Contains a method to connect to SQL Server.

IVariableResolver

Defines the methods that are used to resolve variables.

Enums

ErrorAction

Contains values that are used to specify the error action to take.

OutputDestination

Contains values that are used to specify the output destination.

ParseMode

Contains values that are used to specify the parser mode.

ParserAction

Contains values that are used to specify the parser action.

ParserState.ErrorType

Contains values that are used to specify the error type.

ParserState.Status

Contains values that are used to specify the parser status.

XmlStatus

Contains values that are used to specify the XML status.