SqlScriptGenerator.GenerateTokens(TSqlFragment) Metode

Definisi

Menghasilkan daftar token yang mewakili skrip yang dihasilkan oleh fragmen skrip yang ditentukan

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)

Parameter

scriptFragment
TSqlFragment

Fragmen skrip untuk menghasilkan token untuk

Mengembalikan

Objek yang mampu menghitung daftar token

Berlaku untuk