Platform SDK: Active Directory, ADSI, and Directory Services

Search Time Limit

When you request a search on a server that is under a heavy workload, you may want to tell the server to restrict the search to a specified time limit. For example, you want to execute an application to generate a weekly report on a server that is running near its capacity. To avoid maximizing the CPU time and preventing other jobs from running, you can set the search time to a small value and rerun the application later if it fails to generate the report.

Some servers might impose their own administrative time limit. In these cases, if you specify a search time limit value greater than the administrative time limit, the server will ignore your specification and use its internal administrative time limit instead.