Delen via


TSqlParserToken Constructor (TSqlTokenType, String)

Initializes a new instance of the TSqlParserToken class with the specified type and text of the token.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Sub New ( _
    type As TSqlTokenType, _
    text As String _
)
'Usage
Dim type As TSqlTokenType 
Dim text As String 

Dim instance As New TSqlParserToken(type, text)
public TSqlParserToken(
    TSqlTokenType type,
    string text
)
public:
TSqlParserToken(
    TSqlTokenType type, 
    String^ text
)
new : 
        type:TSqlTokenType * 
        text:string -> TSqlParserToken
public function TSqlParserToken(
    type : TSqlTokenType, 
    text : String
)

Parameters

See Also

Reference

TSqlParserToken Class

TSqlParserToken Overload

Microsoft.SqlServer.TransactSql.ScriptDom Namespace