SqlScriptGenerator.GenerateTokens Method

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

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Function GenerateTokens ( _
    scriptFragment As TSqlFragment _
) As IList(Of TSqlParserToken)
public IList<TSqlParserToken> GenerateTokens(
    TSqlFragment scriptFragment
)
public:
IList<TSqlParserToken^>^ GenerateTokens(
    TSqlFragment^ scriptFragment
)
member GenerateTokens : 
        scriptFragment:TSqlFragment -> IList<TSqlParserToken> 
public function GenerateTokens(
    scriptFragment : TSqlFragment
) : IList<TSqlParserToken>

Parameters

Return Value

Type: System.Collections.Generic.IList<TSqlParserToken>

.NET Framework Security

See Also

Reference

SqlScriptGenerator Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace