Gets or sets the page size in a paged search.
[Visual Basic]
Public Property PageSize As Integer
[C#]
public int PageSize {get; set;}
[C++]
public: __property int get_PageSize();
public: __property void set_PageSize(int);
[JScript]
public function get PageSize() : int;
public function set PageSize(int);
Property Value
The maximum number of objects the server can return in a paged search. The default is zero, which means do not do a paged search.
Exceptions
Remarks
After the server has found a PageSize object, 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.
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