Export (0) Print
Expand All

SqlScriptGenerator.GenerateTokens Method

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)
Dim instance As SqlScriptGenerator 
Dim scriptFragment As TSqlFragment 
Dim returnValue As IList(Of TSqlParserToken)

returnValue = instance.GenerateTokens(scriptFragment)


Type: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
The fragment of script to generate tokens for.

Return Value

Type: IList(Of TSqlParserToken)
A list of tokens.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft