Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There are two ways around this limitation - see the <a href="http://msdn.microsoft.com/en-us/library/system.directoryservices.directorysearcher.aspx" rel="noreferrer">MSDN docs on DirectorySearcher</a> for details:</p> <ul> <li><p>set the <a href="http://msdn.microsoft.com/en-us/library/system.directoryservices.directorysearcher.sizelimit.aspx" rel="noreferrer"><code>DirectorySearcher.SizeLimit</code></a> property to some value you need - this will return that given number of entries in a single search; however, you cannot get more than the server limit (default: 1'000 entries) back in a single operation - however, that server limitation is a configurable option - you could set it higher, and then set your directory searcher's size limit higher - but the more entries you want to return at once, the longer your call will take!</p></li> <li><p>set the <a href="http://msdn.microsoft.com/en-us/library/system.directoryservices.directorysearcher.pagesize.aspx" rel="noreferrer"><code>DirectorySearcher.PageSize</code></a> to some value, e.g. 250 or so, to do "paged searches", e.g. you get back 250 entries in a single operation, and if you iterate to the 251st entry, the directory searcher goes back (in a second, third, fourth call) to get another 250 entries. This is typically the better option since you get back that number of entries quickly, but you can keep searching for more entries as needed</p></li> </ul> <p>The preferred way to handle situations where you need more than those 1000 entries is definitely paged searches - see the MSDN docs:</p> <blockquote> <p>After the server has found the number of objects that are specified by the PageSize property, it will stop searching and return the results to the client. When the client requests more data, the server will restart the search where it left off.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload