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

產生 標記的腳本片段

傳回

一個能夠枚舉一串標記的物件

適用於