Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

STRUCTURED_QUERY_PARSE_ERROR enumeration

A set of flags to be used with IQuerySolution::GetErrors to indentify parsing error(s). Each parsing error indicates that one or more tokens were ignored when parsing a query string.

Syntax


typedef enum tagSTRUCTURED_QUERY_PARSE_ERROR { 
  SQPE_NONE                       = 0,
  SQPE_EXTRA_OPENING_PARENTHESIS  = 1,
  SQPE_EXTRA_CLOSING_PARENTHESIS  = 2,
  SQPE_IGNORED_MODIFIER           = 3,
  SQPE_IGNORED_CONNECTOR          = 4,
  SQPE_IGNORED_KEYWORD            = 5,
  SQPE_UNHANDLED                  = 6
} STRUCTURED_QUERY_PARSE_ERROR;

Constants

SQPE_NONE

No error.

SQPE_EXTRA_OPENING_PARENTHESIS

An extraneous (.

SQPE_EXTRA_CLOSING_PARENTHESIS

An extraneous ).

SQPE_IGNORED_MODIFIER

An extraneous NOT, <, >, =, and so forth.

SQPE_IGNORED_CONNECTOR

An extraneous AND or OR.

SQPE_IGNORED_KEYWORD

A property or other keyword used in the wrong context.

SQPE_UNHANDLED

Any other parse error.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Structuredquery.h

IDL

Structuredquery.idl

See also

IRichChunk

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.