This topic has not yet been rated - Rate this topic

TokenTriggers Enumeration

SQL Server 2012

Specifies a set of triggers that can be fired from the LineScanner class.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Babel
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
[FlagsAttribute]
public enum TokenTriggers
Member nameDescription
MatchBracesThe opening or closing part of a language pair has been parsed.
MemberSelectA character that indicates that the start of a member selection has been parsed.
MethodTipThis is a mask for the flags used to govern the IntelliSense Method Tip operation. This mask is used to isolate the values Parameter, ParameterStart, ParameterNext, and ParameterEnd.
NoneUsed when no triggers are set. This is the default.
ParameterA parameter in the parameter list of a method has been parsed.
ParameterEndA character that marks the end of a parameter list has been parsed. For example, this could be a close parenthesis, ")".
ParameterNextA character that separates parameters in a list has been parsed. For example, this could be a comma, ",".
ParameterStartA character that marks the start of a parameter list has been parsed. For example, this could be an open parenthesis, "(".

Triggers provide a way for the scanner to signal the caller about certain language elements that might be of interest to IntelliSense support.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.