SqlScriptGenerator.GenerateTokens(TSqlFragment) 方法

定义

生成表示由指定脚本片段生成的脚本的令牌列表

public System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParserToken> GenerateTokens(Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment scriptFragment);
member this.GenerateTokens : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment -> System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParserToken>
Public Function GenerateTokens (scriptFragment As TSqlFragment) As IList(Of TSqlParserToken)

参数

scriptFragment
TSqlFragment

要为其生成令牌的脚本片段

返回

能够枚举令牌列表的对象

适用于