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

Returns a statement list and a list of errors by using the provided text reader.

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

语法

声明
Public Function ParseStatementList ( _
    input As TextReader, _
    <OutAttribute> ByRef errors As IList(Of ParseError) _
) As StatementList
用法
Dim instance As TSqlParser 
Dim input As TextReader 
Dim errors As IList(Of ParseError)
Dim returnValue As StatementList 

returnValue = instance.ParseStatementList(input, _
    errors)
public StatementList ParseStatementList(
    TextReader input,
    out IList<ParseError> errors
)
public:
StatementList^ ParseStatementList(
    TextReader^ input, 
    [OutAttribute] IList<ParseError^>^% errors
)
member ParseStatementList : 
        input:TextReader * 
        errors:IList<ParseError> byref -> StatementList
public function ParseStatementList(
    input : TextReader, 
    errors : IList<ParseError>
) : StatementList

参数

返回值

类型:Microsoft.SqlServer.TransactSql.ScriptDom.StatementList
A statement list.

请参阅

参考

TSqlParser 类

ParseStatementList 重载

Microsoft.SqlServer.TransactSql.ScriptDom 命名空间