TSqlParser.Parse 方法 (TextReader, IList<ParseError>%)

通过使用提供的文本读取器返回脚本片段和错误的列表。

命名空间:  Microsoft.Data.Schema.ScriptDom.Sql
程序集:  Microsoft.Data.Schema.ScriptDom.Sql(在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

语法

声明
Public Overrides Function Parse ( _
    input As TextReader, _
    <OutAttribute> ByRef errors As IList(Of ParseError) _
) As IScriptFragment
public override IScriptFragment Parse(
    TextReader input,
    out IList<ParseError> errors
)
public:
virtual IScriptFragment^ Parse(
    TextReader^ input, 
    [OutAttribute] IList<ParseError^>^% errors
) override
abstract Parse : 
        input:TextReader * 
        errors:IList<ParseError> byref -> IScriptFragment 
override Parse : 
        input:TextReader * 
        errors:IList<ParseError> byref -> IScriptFragment 
public override function Parse(
    input : TextReader, 
    errors : IList<ParseError>
) : IScriptFragment

参数

返回值

类型:Microsoft.Data.Schema.ScriptDom.IScriptFragment
脚本片段。

.NET Framework 安全性

请参见

参考

TSqlParser 类

Parse 重载

Microsoft.Data.Schema.ScriptDom.Sql 命名空间

TSqlFragment