The IDirectorySearch interface provide additional control over how the search is performed through the use of search options. These search options are set by filling in an array of ADS_SEARCHPREF_INFO structures and calling the IDirectorySearch::SetSearchPreference method. For more information, see the following topics:
- Using the SetSearchPreference Method
- Synchronous and Asynchronous Searches with IDirectorySearch
- Paging with IDirectorySearch
- Result Caching with IDirectorySearch
- Performing an Attribute Scope Query
- Sorting the Search Results with IDirectorySearch
- Referral Chasing with IDirectorySearch
- Size Limit with IDirectorySearch
- Server Time Limit with IDirectorySearch
- Client Time Limit with IDirectorySearch
- Returning Only Attribute Names with IDirectorySearch
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
