共用方式為


TSqlParser.ParseStatementList Method

Definition

Overloads

ParseStatementList(TextReader, IList<ParseError>)

Parses an input string to get a statement list. This will return null, if there were any errors.

ParseStatementList(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a statement list. This will return null, if there were any errors.

ParseStatementList(TextReader, IList<ParseError>)

Parses an input string to get a statement list. This will return null, if there were any errors.

public Microsoft.SqlServer.TransactSql.ScriptDom.StatementList ParseStatementList (System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors);
member this.ParseStatementList : System.IO.TextReader * IList -> Microsoft.SqlServer.TransactSql.ScriptDom.StatementList
Public Function ParseStatementList (input As TextReader, ByRef errors As IList(Of ParseError)) As StatementList

Parameters

input
TextReader

The input.

errors
IList<ParseError>

The collection of errors.

Returns

Applies to

ParseStatementList(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a statement list. This will return null, if there were any errors.

public abstract Microsoft.SqlServer.TransactSql.ScriptDom.StatementList ParseStatementList (System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors, int startOffset, int startLine, int startColumn);
abstract member ParseStatementList : System.IO.TextReader * IList * int * int * int -> Microsoft.SqlServer.TransactSql.ScriptDom.StatementList
Public MustOverride Function ParseStatementList (input As TextReader, ByRef errors As IList(Of ParseError), startOffset As Integer, startLine As Integer, startColumn As Integer) As StatementList

Parameters

input
TextReader
errors
IList<ParseError>
startOffset
Int32
startLine
Int32
startColumn
Int32

Returns

Applies to