Класс TSqlParser

Represents the Transact-SQL parser.

Иерархия наследования

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParser
    Microsoft.SqlServer.TransactSql.ScriptDom.TSql100Parser
    Microsoft.SqlServer.TransactSql.ScriptDom.TSql110Parser
    Microsoft.SqlServer.TransactSql.ScriptDom.TSql80Parser
    Microsoft.SqlServer.TransactSql.ScriptDom.TSql90Parser

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public MustInherit Class TSqlParser
'Применение
Dim instance As TSqlParser
[SerializableAttribute]
public abstract class TSqlParser
[SerializableAttribute]
public ref class TSqlParser abstract
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type TSqlParser =  class end
public abstract class TSqlParser

Тип TSqlParser обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство QuotedIdentifier Gets a value that indicates whether the quoted identifier is on.

В начало

Методы

  Имя Описание
Открытый метод Create Creates a Transact-SQL parser for the specified version.
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetTokenStream(TextReader, IList<ParseError>%) Returns a list of parser tokens and a list of errors by using the provided text reader.
Открытый метод GetTokenStream(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a list of parser tokens and a list of errors by using the provided text reader.
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод Parse(TextReader, IList<ParseError>%) Returns a script fragment and a list of errors by using the provided text reader.
Открытый метод Parse(IList<TSqlParserToken>, IList<ParseError>%) Returns a script fragment and a list of errors by using the provided tokens.
Открытый метод Parse(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a script fragment and a list of errors by using the provided values.
Открытый метод ParseBooleanExpression(TextReader, IList<ParseError>%) Returns a Boolean expression and a list of errors by using the provided text reader.
Открытый метод ParseBooleanExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a Boolean expression and a list of errors by using the provided values.
Открытый метод ParseChildObjectName(TextReader, IList<ParseError>%) Returns a child object name and a list of errors by using the provided text reader.
Открытый метод ParseChildObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a child object name and a list of errors by using the provided values.
Открытый метод ParseConstantOrIdentifier(TextReader, IList<ParseError>%) Returns a constant or identifier and a list of errors by using the provided text reader.
Открытый метод ParseConstantOrIdentifier(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a constant or identifier and a list of errors by using the provided values.
Открытый метод ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%) Returns a constant or identifier with default values and a list of errors by using the provided text reader.
Открытый метод ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a constant or identifier with default values and a list of errors.
Открытый метод ParseExpression(TextReader, IList<ParseError>%) Returns an expression and a list of errors by using the provided text reader.
Открытый метод ParseExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns an expression and a list of errors by using the provided values.
Открытый метод ParseScalarDataType(TextReader, IList<ParseError>%) Returns a scalar data type and a list of errors by using the provided text reader.
Открытый метод ParseScalarDataType(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a scalar data type and a list of errors by using the provided values.
Открытый метод ParseSchemaObjectName(TextReader, IList<ParseError>%) Returns a schema object name and a list of errors by using the provided text reader.
Открытый метод ParseSchemaObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a schema object name and a list of errors by using the provided values.
Открытый метод ParseStatementList(TextReader, IList<ParseError>%) Returns a statement list and a list of errors by using the provided text reader.
Открытый метод ParseStatementList(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a statement list and a list of errors by using the provided values.
Открытый метод ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>%) Parses an input string to get a subquery expression with optional common table expression and xml namespaces with the specified input reader.
Открытый метод ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>%, Int32, Int32, Int32) Parses an input string to get a subquery expression with optional common table expression and xml namespaces with the specified input reader.
Открытый метод ToString (Производный от Object.)
Открытый метод TryParseSqlModuleObjectName Indicates whether the input script contains a SQL module object name.
Открытый метод TryParseTriggerModule Indicates whether the input script contains a trigger module.
Открытый метод ValidateIdentifier Returns whether a name is a valid SQL identifier.

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom