Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
Public Function GenerateTokens ( _
scriptFragment As TSqlFragment _
) As IList(Of TSqlParserToken)
'Usage
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>
Parameters
- 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.