Parser Class
Defines the methods that control the parser behavior.
Assembly: Microsoft.SqlServer.BatchParser (in Microsoft.SqlServer.BatchParser.dll)
| Name | Description | |
|---|---|---|
![]() | Parser() | Initializes a new instance of the Parser class. |
| Name | Description | |
|---|---|---|
![]() | Cleanup() | Cleans up the internal state, and prepares for a new parse. |
![]() | DisableVariableSubstitution() | Disables variable substitution in the lexer. |
![]() | Dispose() | Releases all resources used by the current instance of the Parser. |
![]() | Dispose(Boolean) | Releases all resources used by the current instance of the Parser. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetLastCommandLineNumber() | Returns the line number of the last encountered command. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Parse() | Starts the parsing. |
![]() | ParserDispose() | Cleans up the parser state. |
![]() | SetBatchDelimiter(String^) | Sets the new batch delimiter. By default, the batch delimiter is GO. |
![]() | SetBatchSource(IBatchSource^) | Sets the batch source interface, which is used to feed text into the parser. |
![]() | SetCommandExecuter(ICommandExecuter^) | Sets the command executer interface, which processes sqlcmd commands and the batch delimiter. |
![]() | SetParseMode(ParseMode) | Sets the parser mode. |
![]() | SetRecognizeOnlyVariables(Boolean) | Sets the parser mode to recognize only variables. |
![]() | SetVariableResolver(IVariableResolver^) | Sets the variable resolver interface. |
![]() | ToString() | (Inherited from Object.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

