Platform SDK: Active Directory, ADSI, and Directory Services

Search Size Limit

To reduce memory requirements, a client can focus on a small number of objects returned from the server and ignore the rest of the result set. To accomplish this, the client specifies a search size limit and other appropriate search criteria. For example, if a directory stores the SAT scores of a school district, you can query the top ten students with the highest SAT scores by specifying a size limit of ten and a descending sort order.