SqlScriptGenerator.GenerateTokens(TSqlFragment) SqlScriptGenerator.GenerateTokens(TSqlFragment) SqlScriptGenerator.GenerateTokens(TSqlFragment) Method

Definition

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);
public System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParserToken> GenerateTokens (Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment scriptFragment);
Public Function GenerateTokens (scriptFragment As TSqlFragment) As IList(Of TSqlParserToken)
Parameters
scriptFragment
TSqlFragment TSqlFragment TSqlFragment

The fragment of script to generate tokens for.

Returns

A list of tokens.

Applies to