STRUCTURED_QUERY_SYNTAX enumeration
Specifies the type of query syntax.
Syntax
typedef enum tagSTRUCTURED_QUERY_SYNTAX { SQS_NO_SYNTAX = 0x0000, SQS_ADVANCED_QUERY_SYNTAX = 0x0001, SQS_NATURAL_QUERY_SYNTAX = 0x0002 } STRUCTURED_QUERY_SYNTAX;
Constants
- SQS_NO_SYNTAX
-
No syntax.
- SQS_ADVANCED_QUERY_SYNTAX
-
Specifies the Advanced Query Syntax. For example, "kind:email to:david to:bill".
- SQS_NATURAL_QUERY_SYNTAX
-
Specifies the Natural Query Syntax. This syntax removes the requirement for a colon between properties and values, for example, "email from david to bill".
Remarks
Use this enumeration to set the desired SQSO_SYNTAX flag in STRUCTURED_QUERY_SINGLE_OPTION, which is used with the methods IQueryParser::SetOption and IQueryParser::GetOption.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: