Microsoft.SqlServer.Management.SqlParser.Parser Namespace

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

Classes

Error

Represents a Transact-SQL parsing error.

EscapeSequence

Provides methods for escaping and unescaping strings based on the Transact-SQL language.

PairMatch

Represents a matched token pair.

ParseOptions

Represents the options that affect the SQL Server parser operation.

Parser

Represents a SQL parser that parses Transact-SQL statements and returns a ParseResult object.

ParseResult

Represents the parsing result.

ParseUtils

Provides helper methods to retrieve information from the parsing results.

PropertyKeys

Represents the possible keys appearing in property set returned by retrieve definition methods.

Scanner

Scans Transact-SQL searching for individual units of code or tokens.

Token

Represents a token.

Structs

Location

Represents the source location.

Enums

ErrorType

Specifies the different error types.

Tokens

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. Specifies the different types of SQL language tokens used by the SQL Server parser.