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.
| Class | Description | |
|---|---|---|
![]() | Parser | Defines the methods that control the parser behavior. |
![]() | ParserException | Defines methods for handling parser exceptions. |
![]() | ParserState | Provides information about the parser state. |
| Interface | Description | |
|---|---|---|
![]() | 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. |
| Enumeration | Description | |
|---|---|---|
![]() | ErrorAction | Contains values that are used to specify the error action to take. |
![]() | ParserState::ErrorType | Contains values that are used to specify the error type. |
![]() | 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::Status | Contains values that are used to specify the parser status. |
![]() | XmlStatus | Contains values that are used to specify the XML status. |


