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
)
參數
- type
型別:Microsoft.SqlServer.TransactSql.ScriptDom.TSqlTokenType
The token type.
- text
型別:System.String
The token text.