指定されたテキスト リーダーを使用して、パーサー トークンの一覧およびエラーの一覧を返します。
名前空間: Microsoft.SqlServer.TransactSql.ScriptDom
アセンブリ: Microsoft.SqlServer.TransactSql.ScriptDom (Microsoft.SqlServer.TransactSql.ScriptDom.dll)
構文
'宣言
Public Function GetTokenStream ( _
input As TextReader, _
<OutAttribute> ByRef errors As IList(Of ParseError) _
) As IList(Of TSqlParserToken)
'使用
Dim instance As TSqlParser
Dim input As TextReader
Dim errors As IList(Of ParseError)
Dim returnValue As IList(Of TSqlParserToken)
returnValue = instance.GetTokenStream(input, _
errors)
public IList<TSqlParserToken> GetTokenStream(
TextReader input,
out IList<ParseError> errors
)
public:
IList<TSqlParserToken^>^ GetTokenStream(
TextReader^ input,
[OutAttribute] IList<ParseError^>^% errors
)
member GetTokenStream :
input:TextReader *
errors:IList<ParseError> byref -> IList<TSqlParserToken>
public function GetTokenStream(
input : TextReader,
errors : IList<ParseError>
) : IList<TSqlParserToken>
パラメーター
- input
型: System.IO.TextReader
解析対象のスクリプトです。
- errors
型: System.Collections.Generic.IList<ParseError>%
このメソッドから制御が戻ったとき、解析中に発生したエラーの一覧が含まれます。 このパラメーターは初期化せずに渡されます。
戻り値
型: System.Collections.Generic.IList<TSqlParserToken>
パーサー トークンの一覧です。