代表Transact-SQL解析器。
继承层次结构
System.Object
  Microsoft.Data.Schema.ScriptDom.Parser
    Microsoft.Data.Schema.ScriptDom.Sql.TSqlParser
      Microsoft.Data.Schema.ScriptDom.Sql.TSql100Parser
      Microsoft.Data.Schema.ScriptDom.Sql.TSql80Parser
      Microsoft.Data.Schema.ScriptDom.Sql.TSql90Parser
命名空间:  Microsoft.Data.Schema.ScriptDom.Sql
程序集:  Microsoft.Data.Schema.ScriptDom.Sql(在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)
语法
声明
<SerializableAttribute> _
Public MustInherit Class TSqlParser _
    Inherits Parser
[SerializableAttribute]
public abstract class TSqlParser : Parser
[SerializableAttribute]
public ref class TSqlParser abstract : public Parser
[<AbstractClass>]
[<SerializableAttribute>]
type TSqlParser =  
    class
        inherit Parser
    end
public abstract class TSqlParser extends Parser
TSqlParser 类型公开以下成员。
属性
页首
方法
| .gif) | Equals | 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。) | 
| .gif) | Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | 
| .gif) | GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | 
| .gif) | GetTokenStream(TextReader, IList<ParseError>) | 通过使用提供的文本阅读器和分析器错误列表返回解析器的列表标记。 | 
| .gif) | GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32) |  | 
| .gif) | GetType | 获取当前实例的 Type。 (继承自 Object。) | 
| .gif) | MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | 
| .gif) | Parse(TextReader, IList<ParseError>%) | 通过使用提供的文本读取器返回脚本片段和错误的列表。 (重写 Parser.Parse(TextReader, IList<ParseError>%)。) | 
| .gif) | Parse(IList<TSqlParserToken>, IList<ParseError>) | 当在派生类中被重写,则返回一个脚本片段使用提供的标记和错误。 | 
| .gif) | Parse(TextReader, IList<ParseError>%, Int32, Int32, Int32) |  | 
| .gif) | ParseBooleanExpression(TextReader, IList<ParseError>%) |  | 
| .gif) | ParseBooleanExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) |  | 
| .gif) | ParseChildObjectName(TextReader, IList<ParseError>%) |  | 
| .gif) | ParseChildObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) |  | 
| .gif) | ParseConstantOrIdentifier(TextReader, IList<ParseError>%) |  | 
| .gif) | ParseConstantOrIdentifier(TextReader, IList<ParseError>%, Int32, Int32, Int32) |  | 
| .gif) | ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%) |  | 
| .gif) | ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%, Int32, Int32, Int32) |  | 
| .gif) | ParseExpression(TextReader, IList<ParseError>%) |  | 
| .gif) | ParseExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) |  | 
| .gif) | ParseScalarDataType(TextReader, IList<ParseError>%) |  | 
| .gif) | ParseScalarDataType(TextReader, IList<ParseError>%, Int32, Int32, Int32) |  | 
| .gif) | ParseSchemaObjectName(TextReader, IList<ParseError>%) |  | 
| .gif) | ParseSchemaObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) |  | 
| .gif) | ParseStatementList(TextReader, IList<ParseError>%) |  | 
| .gif) | ParseStatementList(TextReader, IList<ParseError>%, Int32, Int32, Int32) |  | 
| .gif) | ToString | 返回表示当前对象的字符串。 (继承自 Object。) | 
| .gif) | ValidateIdentifier | 返回某个名称是否为有效的 SQL 标识符。 | 
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参见
参考
Microsoft.Data.Schema.ScriptDom.Sql 命名空间