nedcomp hosting homepage

Producten en Diensten
Dedicated servers
Datacenter informatie
Partners, resellers
Helpdesk informatie
Technische docs, tools
Support homepage
ASP componenten
Praktische ASP, ASP.NET
Visual route server
Whois (domein gegevens)
Software documentatie
Whitepapers
Zoeken
Nedcomp / algemeen

Zoeken
 

Copyright © Nedcomp Hosting
Telefoon nr :   +31 184 670111
Fax nummer :   +31 184 631384
E-mailadres :   info@nedcomp.nl
 

.NET Framework Class Library  

DirectorySearcher.SizeLimit Property

Gets or sets the maximum number of objects the server returns in a search.

[Visual Basic]
Public Property SizeLimit As Integer
[C#]
public int SizeLimit {get; set;}
[C++]
public: __property int get_SizeLimit();
public: __property void set_SizeLimit(int);
[JScript]
public function get SizeLimit() : int;
public function set SizeLimit(int);

Property Value

The maximum number of objects the server returns in a search. The default of zero means to use the server-determined default size limit of 1000 entries.

Exceptions

Exception Type Condition
ArgumentException SizeLimit is less than zero.

Remarks

The server stops searching after the size limit is reached and returns the results accumulated up to that point.

Note   If you set SizeLimit to a value that is larger than the server-determined default of 1000 entries, the server-determined default is used.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code

See Also

DirectorySearcher Class | DirectorySearcher Members | System.DirectoryServices Namespace