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);
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.
| Exception Type | Condition |
|---|---|
| ArgumentException | PageSize is less than zero. |
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.
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:
DirectorySearcher Class | DirectorySearcher Members | System.DirectoryServices Namespace