TSqlParser.Parse (Método) (TextReader, IList<ParseError>%)
Devuelve un fragmento de script y una lista de errores utilizando el lector de texto dado.
Espacio de nombres: Microsoft.Data.Schema.ScriptDom.Sql
Ensamblado: Microsoft.Data.Schema.ScriptDom.Sql (en Microsoft.Data.Schema.ScriptDom.Sql.dll)
Sintaxis
'Declaración
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
Parámetros
- input
Tipo: System.IO.TextReader
Script que se va a analizar
- errors
Tipo: System.Collections.Generic.IList<ParseError>%
(Salida) los errores de análisis.
Valor devuelto
Tipo: Microsoft.Data.Schema.ScriptDom.IScriptFragment
Fragmento de script.
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.