SqlScriptGenerator.GenerateTokens(TSqlFragment) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
生成表示由指定脚本片段生成的脚本的令牌列表
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
要为其生成令牌的脚本片段
返回
能够枚举令牌列表的对象