SqlScriptGenerator.GenerateTokens(TSqlFragment) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates a list of tokens representing the script generated by the specified script fragment
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)
Parameters
- scriptFragment
- TSqlFragment
The fragment of script to generate tokens for
Returns
A object capable of enumerating a list of tokens