Condividi tramite


Metodo SqlScriptGenerator.GenerateTokens

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

Spazio dei nomi  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintassi

'Dichiarazione
Public Function GenerateTokens ( _
    scriptFragment As TSqlFragment _
) As IList(Of TSqlParserToken)
'Utilizzo
Dim instance As SqlScriptGenerator 
Dim scriptFragment As TSqlFragment 
Dim returnValue As IList(Of TSqlParserToken)

returnValue = instance.GenerateTokens(scriptFragment)
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>

Parametri

Valore restituito

Tipo: System.Collections.Generic.IList<TSqlParserToken>
A list of tokens.

Vedere anche

Riferimento

SqlScriptGenerator Classe

Spazio dei nomi Microsoft.SqlServer.TransactSql.ScriptDom