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

When overridden in a derived class, returns a script fragment by using the provided tokens and errors.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public MustOverride Function Parse ( _
    tokens As IList(Of TSqlParserToken), _
    errors As IList(Of ParseError) _
) As TSqlFragment
public abstract TSqlFragment Parse(
    IList<TSqlParserToken> tokens,
    IList<ParseError> errors
)
public:
virtual TSqlFragment^ Parse(
    IList<TSqlParserToken^>^ tokens, 
    IList<ParseError^>^ errors
) abstract
abstract Parse : 
        tokens:IList<TSqlParserToken> * 
        errors:IList<ParseError> -> TSqlFragment 
public abstract function Parse(
    tokens : IList<TSqlParserToken>, 
    errors : IList<ParseError>
) : TSqlFragment

Parameters

Return Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
A script fragment.

.NET Framework Security

See Also

Reference

TSqlParser Class

Parse Overload

Microsoft.Data.Schema.ScriptDom.Sql Namespace

TSqlFragment