Platform SDK: MAPI |
Some address book containers support an advanced searching capability that allows clients to search on properties other than PR_DISPLAY_NAME. Address book containers that support advanced searches have a container object property called PR_SEARCH. This container object provides access to a display table that describes the search dialog box — a dialog box used to enter and edit the advanced search criteria.
To perform an advanced search on an address book container
This sequence of calls results in a restriction being available when a client calls the search object's GetSearchCriteria method.