Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SqlScriptGenerator.GenerateTokens Method

SQL Server 2012

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 IList<TSqlParserToken> GenerateTokens(
	TSqlFragment scriptFragment


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

Return Value

Type: System.Collections.Generic.IList<TSqlParserToken>
A list of tokens.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.