Метод SqlScriptGenerator.GenerateTokens

Generates a list of tokens representing the script generated by the specified script fragment.

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
Public Function GenerateTokens ( _
    scriptFragment As TSqlFragment _
) As IList(Of TSqlParserToken)
'Применение
Dim instance As SqlScriptGenerator 
Dim scriptFragment As TSqlFragment 
Dim returnValue As IList(Of TSqlParserToken)

returnValue = instance.GenerateTokens(scriptFragment)
public IList<TSqlParserToken> GenerateTokens(
    TSqlFragment scriptFragment
)
public:
IList<TSqlParserToken^>^ GenerateTokens(
    TSqlFragment^ scriptFragment
)
member GenerateTokens : 
        scriptFragment:TSqlFragment -> IList<TSqlParserToken> 
public function GenerateTokens(
    scriptFragment : TSqlFragment
) : IList<TSqlParserToken>

Параметры

Возвращаемое значение

Тип: System.Collections.Generic.IList<TSqlParserToken>
A list of tokens.

См. также

Справочник

SqlScriptGenerator Класс

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom