TSqlParser.GetTokenStream Method (TextReader, IList<ParseError>)
Returns a list of parser tokens by using the provided text reader and list of parser errors.
Namespace: Microsoft.Data.Schema.ScriptDom.Sql
Assembly: Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)
Syntax
'Declaration
Public Function GetTokenStream ( _
input As TextReader, _
errors As IList(Of ParseError) _
) As IList(Of TSqlParserToken)
public IList<TSqlParserToken> GetTokenStream(
TextReader input,
IList<ParseError> errors
)
public:
IList<TSqlParserToken^>^ GetTokenStream(
TextReader^ input,
IList<ParseError^>^ errors
)
member GetTokenStream :
input:TextReader *
errors:IList<ParseError> -> IList<TSqlParserToken>
public function GetTokenStream(
input : TextReader,
errors : IList<ParseError>
) : IList<TSqlParserToken>
Parameters
- input
Type: System.IO.TextReader
The script that will be parsed
- errors
Type: System.Collections.Generic.IList<ParseError>
The parse errors
Return Value
Type: System.Collections.Generic.IList<TSqlParserToken>
A list of parser tokens.
.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.