Share via


TSqlParser.Parse Method (TextReader, IList<ParseError>%)

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

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

Syntax

'Declaration
Public Overrides Function Parse ( _
    input As TextReader, _
    <OutAttribute> ByRef errors As IList(Of ParseError) _
) As IScriptFragment
public override IScriptFragment Parse(
    TextReader input,
    out IList<ParseError> errors
)
public:
virtual IScriptFragment^ Parse(
    TextReader^ input, 
    [OutAttribute] IList<ParseError^>^% errors
) override
abstract Parse : 
        input:TextReader * 
        errors:IList<ParseError> byref -> IScriptFragment 
override Parse : 
        input:TextReader * 
        errors:IList<ParseError> byref -> IScriptFragment 
public override function Parse(
    input : TextReader, 
    errors : IList<ParseError>
) : IScriptFragment

Parameters

Return Value

Type: Microsoft.Data.Schema.ScriptDom.IScriptFragment
A script fragment.

.NET Framework Security

See Also

Reference

TSqlParser Class

Parse Overload

Microsoft.Data.Schema.ScriptDom.Sql Namespace

TSqlFragment