PageSize Property
The maximum number of results per page for the Search method.
Syntax
ANSI (Cross Platform) int GetPageSize();
int SetPageSize(int iPageSize); Unicode (Windows) INT GetPageSize();
INT SetPageSize(INT iPageSize);
@property (nonatomic,readwrite,assign,getter=pageSize,setter=setPageSize:) int pageSize; - (int)pageSize; - (void)setPageSize:(int)newPageSize;
#define PID_LDAP_PAGESIZE 20 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_LDAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_LDAP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This property contains the maximum number of results per page for the Search method. The default value is 0 (no paging). If set to a value greater than zero, results will be paged, i.e. returned in blocks of maximum PageSize results.
For each page sent by the server, a SearchPage event will fire. you may decide to cancel or continue displaying results from within this event.
Note: LDAP paging functionality is described by LDAP extension RFCs and may or may not be implemented by the LDAP server being accessed.
Data Type
Integer