Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TSqlParserToken Class

Represents a parser token.


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

public sealed class TSqlParserToken

The TSqlParserToken type exposes the following members.

Public methodTSqlParserToken()Initializes a new instance of the TSqlParserToken class.
Public methodTSqlParserToken(TSqlTokenType, String)Initializes a new instance of the TSqlParserToken class with the specified type and text of the token.
Public methodTSqlParserToken(TSqlTokenType, Int32, String, Int32, Int32)Initializes a new instance of the TSqlParserToken class with the specified type, offset, text, line and column of the token.

Public propertyColumnGets or sets the column of the token.
Public propertyLineGets or sets the line of the token.
Public propertyOffsetGets or sets the offset of the token.
Public propertyTextGets or sets the text of the token.
Public propertyTokenTypeGets or sets the value of the token type.

Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsKeywordDetermines the value that indicates whether the token is a language keyword.
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft