Autor Beitrag
Trombone
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26
Erhaltene Danke: 1



BeitragVerfasst: Do 18.08.11 13:56 
Hallo,

ich würde gerne die Anzahl der Ergebnisse, die mir ein DirectorySearcher aus der AD ausliest begrenzen.
MSDN gibt mir dazu Folgende Info:

msdn.microsoft.com/e...rcher.sizelimit.aspx

Leider werde ich da nicht ganz schlau raus, wo ist der Bezug auf mein DirectorySearcher Object oder wo muss ich den Code implementiern?

Würd mich über Ratschläge freuen,
Gruß!
bakachan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 503
Erhaltene Danke: 34

W7 (x64) Ultimate
C# / VB.NET (VS2010 Ultimate)
BeitragVerfasst: Do 18.08.11 14:02 
Es steht doch da das es eine Property an dem Objekt ist also wird es in etwa so aussehen:
ausblenden C#-Quelltext
1:
myDirectorySearchObject.SizeLimit = 42;					
Trombone Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26
Erhaltene Danke: 1



BeitragVerfasst: Do 18.08.11 14:42 
erstaunlich einfach, danke;)