Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SEARCH_KIND_OF_CHANGE enumeration

Indicates the kind of change affecting an item when a source sink notifies a client that an item has been changed.

Syntax


typedef enum SEARCH_KIND_OF_CHANGE { 
  SEARCH_CHANGE_ADD                        = 0x0000,
  SEARCH_CHANGE_DELETE                     = 0x0001,
  SEARCH_CHANGE_MODIFY                     = 0x0002,
  SEARCH_CHANGE_MOVE_RENAME                = 0x0003,
  SEARCH_CHANGE_SEMANTICS_DIRECTORY        = 0x40000,
  SEARCH_CHANGE_SEMANTICS_SHALLOW          = 0x80000,
  SEARCH_CHANGE_SEMANTICS_UPDATE_SECURITY  = 0x400000
} SEARCH_KIND_OF_CHANGE;

Constants

SEARCH_CHANGE_ADD

An item was added.

SEARCH_CHANGE_DELETE

An item was deleted.

SEARCH_CHANGE_MODIFY

An item was modified.

SEARCH_CHANGE_MOVE_RENAME

An item was moved or renamed. Not currently supported for use with ISearchPersistentItemsChangedSink::OnItemsChanged.

SEARCH_CHANGE_SEMANTICS_DIRECTORY

An item is a directory. The item needs to be crawled rather than just reindexed as a document would be.

SEARCH_CHANGE_SEMANTICS_SHALLOW

Index directory properties were changed for an item.

SEARCH_CHANGE_SEMANTICS_UPDATE_SECURITY

Security on an item was changed.

Remarks

SEARCH_CHANGE_ADD, SEARCH_CHANGE_DELETE, and SEARCH_CHANGE_MODIFY are mutually exclusive. Only one of them can be used at a time. However, any one of them can be combined with the remaining flags.

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

Searchapi.h

See also

Reference
SEARCH_ITEM_CHANGE
INLINE_NOTIFY_DATA_CHANGE_ENTRY

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.