Editéieren

Deelen iwwer


CIPROPERTYDEF structure (ntquery.h)

Note

Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.

Represents the friendly name, type, and property identifier (ID) information.

Syntax

typedef struct tagCIPROPERTYDEF {
  LPWSTR wcsFriendlyName;
  DWORD  dbType;
  DBID   dbCol;
} CIPROPERTYDEF;

Members

wcsFriendlyName

The friendly name for a property. The friendly name can be used in an Indexing Service query, column list, or sort order parsed by the CITextToSelectTree function and the CITextToFullTree function. Friendly names must be entered in uppercase.

dbType

The data type for the property. This type is used when building a DBCOMMANDTREE structure for a restriction node. The same property with different friendly names can have different types. Its value must be either an OLE DB DBTYPE type or a PROPVARIANT variant type.

dbCol

The property ID for the property. Indexing Service properties must be either DBKIND_GUID_NAME or DBKIND_GUID_PROPID. See DBID.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header ntquery.h

See also

CITextToFullTree

CITextToSelectTree

DBCOMMANDTREE

DBID