TSql100Parser.Parse(IList<TSqlParserToken>, IList<ParseError>) TSql100Parser.Parse(IList<TSqlParserToken>, IList<ParseError>) TSql100Parser.Parse(IList<TSqlParserToken>, IList<ParseError>) Method

Definition

Returns a script fragment and a list of errors.

Returns a script fragment by using the provided tokens and errors.

public:
 override Microsoft::SqlServer::TransactSql::ScriptDom::TSqlFragment ^ Parse(System::Collections::Generic::IList<Microsoft::SqlServer::TransactSql::ScriptDom::TSqlParserToken ^> ^ tokens, [Runtime::InteropServices::Out] System::Collections::Generic::IList<Microsoft::SqlServer::TransactSql::ScriptDom::ParseError ^> ^ % errors);
public override Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment Parse (System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParserToken> tokens, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors);
Public Overrides Function Parse (tokens As IList(Of TSqlParserToken), ByRef errors As IList(Of ParseError)) As TSqlFragment
Parameters
tokens
IList<TSqlParserToken>

The list of parser tokens.

errors
IList<ParseError>

When this method returns, contains the list of error that occurred during parsing.

Returns

Applies to