SqlScriptGenerator.GenerateTokens 方法

生成一个令牌列表,其中的令牌表示由指定脚本片段生成的脚本。

命名空间:  Microsoft.Data.Schema.ScriptDom.Sql
程序集:  Microsoft.Data.Schema.ScriptDom.Sql(在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

语法

声明
Public Function GenerateTokens ( _
    scriptFragment As TSqlFragment _
) As IList(Of TSqlParserToken)
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>

.NET Framework 安全性

请参见

参考

SqlScriptGenerator 类

Microsoft.Data.Schema.ScriptDom.Sql 命名空间