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 命名空間