Benutzer-Werkzeuge

Webseiten-Werkzeuge


csharp:directorysearcher1000

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
csharp:directorysearcher1000 [2016/02/26 15:08] – angelegt ronnycsharp:directorysearcher1000 [2016/04/02 00:48] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 17: Zeile 17:
 >This is due to a server-side limit. From the DirectorySearcher.SizeLimit documentation: >This is due to a server-side limit. From the DirectorySearcher.SizeLimit documentation:
 > >
- The maximum number of objects that the server returns in a search. The default value is zero, which means to use the server-determined default size limit of 1000 entries.+>//The maximum number of objects that the server returns in a search. The default value is zero, which means to use the server-determined default size limit of 1000 entries.//
 > >
 >And: >And:
- If you set SizeLimit to a value that is larger than the server-determined default of 1000 entries, the server-determined default is used.+>//If you set SizeLimit to a value that is larger than the server-determined default of 1000 entries, the server-determined default is used.// 
 +>
 >Basically from this, it looks like unless there's a way of changing the server-side default, you're going to be limited to 1000 entries. It's possible that specifying a PageSize will let you fetch a certain number at a time, with a total greater than 1000... not sure. >Basically from this, it looks like unless there's a way of changing the server-side default, you're going to be limited to 1000 entries. It's possible that specifying a PageSize will let you fetch a certain number at a time, with a total greater than 1000... not sure.
 > >
Zeile 32: Zeile 33:
 } }
 </code> </code>
 +
 +Quelle: [[http://stackoverflow.com/questions/3488394/c-sharp-active-directory-services-findall-returns-only-1000-entries]]
 +
 +{{tag>[CSharp DirectorySearcher LDAP Pagesize}}
  
csharp/directorysearcher1000.txt · Zuletzt geändert: 2016/04/02 00:48 von 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki