Parser Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.SqlParser.Parser.Parser

Namespace:  Microsoft.SqlServer.Management.SqlParser.Parser
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public NotInheritable Class Parser
'Usage
public static class Parser
public ref class Parser abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Parser =  class end
public final class Parser

Methods

  Name Description
Public methodStatic member IncrementalParse(String, ParseResult) Incrementally parses the specified Transact-SQL string.
Public methodStatic member IncrementalParse(String, ParseResult, ParseOptions) Incrementally parses the specified Transact-SQL string.
Public methodStatic member IncrementalParse(String, ParseResult, ParseOptions, ParseOptions%) Incrementally parses the specified Transact-SQL string.
Public methodStatic member Parse(String) Parses the specified Transact-SQL string using default parser options.
Public methodStatic member Parse(String, ParseOptions) Parses the specified Transact-SQL string using the specified parser options.
Public methodStatic member Parse(String, ParseOptions, ParseOptions%) Parses the specified Transact-SQL string using the specified parser options.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.