SqlScriptGenerator.GenerateTokens 메서드
Generates a list of tokens representing the script generated by the specified script fragment.
네임스페이스: Microsoft.SqlServer.TransactSql.ScriptDom
어셈블리: Microsoft.SqlServer.TransactSql.ScriptDom(Microsoft.SqlServer.TransactSql.ScriptDom.dll)
구문
‘선언
Public Function GenerateTokens ( _
scriptFragment As TSqlFragment _
) As IList(Of TSqlParserToken)
‘사용 방법
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>
매개 변수
- scriptFragment
유형: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
The fragment of script to generate tokens for.
반환 값
유형: System.Collections.Generic.IList<TSqlParserToken>
A list of tokens.