SqlScriptGenerator.GenerateTokens Method (TSqlFragment)

 

Generates a list of tokens representing the script generated by the specified script fragment.

Namespace:   Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Public Function GenerateTokens (
	scriptFragment As TSqlFragment
) As IList(Of TSqlParserToken)

Parameters

scriptFragment
Type: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment

The fragment of script to generate tokens for.

Return Value

Type: System.Collections.Generic.IList(Of TSqlParserToken)

A list of tokens.

Return to top
Show: