TSqlParserToken 建構函式 (TSqlTokenType, String)

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

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Sub New ( _
    type As TSqlTokenType, _
    text As String _
)
'用途
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
)

參數

請參閱

參考

TSqlParserToken 類別

TSqlParserToken 多載

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間