ADS_SEARCHPREF

typedef enum {
    ADS_SEARCHPREF_ASYNCHRONOUS = 0,
    ADS_SEARCHPREF_DEREF_ALIASES,
    ADS_SEARCHPREF_SIZE_LIMIT,
    ADS_SEARCHPREF_TIME_LIMIT,
    ADS_SEARCHPREF_ATTRIBTYPES_ONLY,
    ADS_SEARCHPREF_SEARCH_SCOPE,
    ADS_SEARCHPREF_TIMEOUT,
    ADS_SEARCHPREF_PAGESIZE,
    ADS_SEARCHPREF_PAGED_TIME_LIMIT,
    ADS_SEARCHPREF_PAGE_CHASE_REFERRALS,
    ADS_SEARCHPREF_PAGE_SORT_ON
} ADS_SEARCHPREF_ENUM;

typedef ADS_SEARCHPREF_ENUM ADS_SEARCHPREF;
 

Elements

ADS_SEARCHPREF_ASYNCHRONOUS
Calls to ExecuteSearch are executed asynchronously.
ADS_SEARCHPREF_DEREF_ALIASES
Object aliases (for example, shortcuts) should be resolved when found.
ADS_SEARCHPREF_SIZE_LIMIT
The size limit for the search specified in an ADS_SEARCHPREF_INFO structure should be observed.
ADS_SEARCHPREF_TIME_LIMIT
The time limit for the search specified in an ADS_SEARCHPREF_INFO structure should be observed.
ADS_SEARCHPREF_ATTRIBTYPES_ONLY
The search should obtain only the types of attributes, not their values.
ADS_SEARCHPREF_SEARCH_SCOPE
The search scope specified in an ADS_SEARCHPREF_INFO structure should be observed. The search scope can be restricted to the current level or to the subtree of which the current level is the base.
ADS_SEARCHPREF_TIMEOUT
The timeout period for the search specified in an ADS_SEARCHPREF_INFO structure should be observed.
ADS_SEARCHPREF_PAGESIZE
Specifies the page size of the search results for implementations this feature.
ADS_SEARCHPREF_PAGED_TIME_LIMIT
Specifies the time limit for each page of search results (as opposed to the time limit for the entire search).
ADS_SEARCHPREF_CHASE_REFERRALS
If the root of the search specified is not in the naming context of the server or when the search results cross a naming context (for example, when you have child domains and search in the parent domain), the server sends a referral message to the client which the client can choose to ignore or chase.
ADS_SEARCHPREF_SORT_ON
TBD.