Método SqlScriptGenerator.GenerateTokens
Generates a list of tokens representing the script generated by the specified script fragment.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
Public Function GenerateTokens ( _
scriptFragment As TSqlFragment _
) As IList(Of TSqlParserToken)
'Uso
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>
Parâmetros
- scriptFragment
Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
The fragment of script to generate tokens for.
Valor de retorno
Tipo: System.Collections.Generic.IList<TSqlParserToken>
A list of tokens.