TSql90Parser 类

Represents the Transact-SQL 90 parser.

继承层次结构

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParser
    Microsoft.SqlServer.TransactSql.ScriptDom.TSql90Parser

命名空间:  Microsoft.SqlServer.TransactSql.ScriptDom
程序集:  Microsoft.SqlServer.TransactSql.ScriptDom(在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

语法

声明
<SerializableAttribute> _
Public Class TSql90Parser _
    Inherits TSqlParser
用法
Dim instance As TSql90Parser
[SerializableAttribute]
public class TSql90Parser : TSqlParser
[SerializableAttribute]
public ref class TSql90Parser : public TSqlParser
[<SerializableAttribute>]
type TSql90Parser =  
    class 
        inherit TSqlParser 
    end
public class TSql90Parser extends TSqlParser

TSql90Parser 类型公开以下成员。

构造函数

  名称 说明
公共方法 TSql90Parser Initializes a new instance of the TSql90Parser class.

页首

属性

  名称 说明
公共属性 QuotedIdentifier Gets a value that indicates whether the quoted identifier is on. (从 TSqlParser 继承。)

页首

方法

  名称 说明
公共方法 Create Creates a Transact-SQL parser for the specified version. (从 TSqlParser 继承。)
公共方法 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. (从 TSqlParser 继承。)
公共方法 GetTokenStream(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a list of parser tokens and a list of errors by using the provided text reader. (从 TSqlParser 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 Parse(TextReader, IList<ParseError>%) Returns a script fragment and a list of errors by using the provided text reader. (从 TSqlParser 继承。)
公共方法 Parse(IList<TSqlParserToken>, IList<ParseError>%) Returns a script fragment by using the provided tokens and errors. (覆盖 TSqlParser.Parse(IList<TSqlParserToken>, IList<ParseError>%)。)
公共方法 Parse(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a script fragment and a list of errors by using the provided values. (从 TSqlParser 继承。)
公共方法 ParseBooleanExpression(TextReader, IList<ParseError>%) Returns a Boolean expression and a list of errors by using the provided text reader. (从 TSqlParser 继承。)
公共方法 ParseBooleanExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a Boolean expression and a list of errors by using the provided values. (覆盖 TSqlParser.ParseBooleanExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32)。)
公共方法 ParseChildObjectName(TextReader, IList<ParseError>%) Returns a child object name and a list of errors by using the provided text reader. (从 TSqlParser 继承。)
公共方法 ParseChildObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a child object name and a list of errors by using the provided values. (覆盖 TSqlParser.ParseChildObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32)。)
公共方法 ParseConstantOrIdentifier(TextReader, IList<ParseError>%) Returns a constant or identifier and a list of errors by using the provided text reader. (从 TSqlParser 继承。)
公共方法 ParseConstantOrIdentifier(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a constant or identifier and a list of errors by using the provided values. (覆盖 TSqlParser.ParseConstantOrIdentifier(TextReader, IList<ParseError>%, Int32, Int32, Int32)。)
公共方法 ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%) Returns a constant or identifier with default values and a list of errors by using the provided text reader. (从 TSqlParser 继承。)
公共方法 ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a constant or identifier with default values and a list of errors. (覆盖 TSqlParser.ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%, Int32, Int32, Int32)。)
公共方法 ParseExpression(TextReader, IList<ParseError>%) Returns an expression and a list of errors by using the provided text reader. (从 TSqlParser 继承。)
公共方法 ParseExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns an expression and a list of errors by using the provided values. (覆盖 TSqlParser.ParseExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32)。)
公共方法 ParseScalarDataType(TextReader, IList<ParseError>%) Returns a scalar data type and a list of errors by using the provided text reader. (从 TSqlParser 继承。)
公共方法 ParseScalarDataType(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a scalar data type and a list of errors by using the provided values. (覆盖 TSqlParser.ParseScalarDataType(TextReader, IList<ParseError>%, Int32, Int32, Int32)。)
公共方法 ParseSchemaObjectName(TextReader, IList<ParseError>%) Returns a schema object name and a list of errors by using the provided text reader. (从 TSqlParser 继承。)
公共方法 ParseSchemaObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a schema data type and a list of errors by using the provided values. (覆盖 TSqlParser.ParseSchemaObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32)。)
公共方法 ParseStatementList(TextReader, IList<ParseError>%) Returns a statement list and a list of errors by using the provided text reader. (从 TSqlParser 继承。)
公共方法 ParseStatementList(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a statement list and a list of errors by using the provided values. (覆盖 TSqlParser.ParseStatementList(TextReader, IList<ParseError>%, Int32, Int32, Int32)。)
公共方法 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. (从 TSqlParser 继承。)
公共方法 ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>%, Int32, Int32, Int32) Parses an input string to get a subquery expression with optional common table expression (CTE) and XML namespaces. (覆盖 TSqlParser.ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>%, Int32, Int32, Int32)。)
公共方法 ToString (从 Object 继承。)
公共方法 TryParseSqlModuleObjectName Indicates whether the input script contains a SQL module object name. (从 TSqlParser 继承。)
公共方法 TryParseTriggerModule Indicates whether the input script contains a trigger module. (从 TSqlParser 继承。)
公共方法 ValidateIdentifier Returns whether a name is a valid SQL identifier. (从 TSqlParser 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.TransactSql.ScriptDom 命名空间