Microsoft.SqlServer.Management.SqlParser.Parser Namespace

The Microsoft.SqlServer.Management.SqlParser.Parser namespace contains types designed to support the SQL Server parser.

Classes

  Class Description
Public class Error Represents a Transact-SQL parsing error.
Public class EscapeSequence Provides methods for escaping and unescaping strings based on the Transact-SQL language.
Public class PairMatch Represents a matched token pair.
Public class ParseOptions Represents the options that affect the SQL Server parser operation.
Public class Parser Represents a SQL parser that parses Transact-SQL statements and returns a ParseResult object.
Public class ParseResult Represents the parsing result.
Public class ParseUtils Provides helper methods to retrieve information from the parsing results.
Public class PropertyKeys Represents the possible keys appearing in property set returned by retrieve definition methods.
Public class Scanner Scans Transact-SQL searching for individual units of code or tokens.
Public class Token Represents a token.

Structures

  Structure Description
Public structure Location Represents the source location.

Enumerations

  Enumeration Description
Public enumeration ErrorType Specifies the different error types.
Public enumeration Tokens Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. Specifies the different types of tokens used by the SQL Server parser.