TSqlParser.Parse – metoda (TextReader, IList<ParseError>%)
Vrátí skript fragmentu a seznam chyb pomocí čtečky zadaný text.
Obor názvů: Microsoft.Data.Schema.ScriptDom.Sql
Sestavení: Microsoft.Data.Schema.ScriptDom.Sql (v Microsoft.Data.Schema.ScriptDom.Sql.dll)
Syntaxe
'Deklarace
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
Parametry
- input
Typ: System.IO.TextReader
Skript, který bude analyzován
- errors
Typ: System.Collections.Generic.IList<ParseError>%
(Výstup) Chyby analyzátoru.
Vrácená hodnota
Typ: Microsoft.Data.Schema.ScriptDom.IScriptFragment
Skript fragmentu.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.