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
- input
Type: System.IO.TextReader
The script that will be parsed
- errors
Type: System.Collections.Generic.IList<ParseError>%
(Output) The parsing errors.
Return Value
Type: Microsoft.Data.Schema.ScriptDom.IScriptFragment
A script fragment.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.