SearchPage Event
Fired for every page returned from a search operation.
Syntax
typedef void __fastcall (__closure *TipwLDAPSearchPageEvent)(System::TObject* Sender, TipwLDAPSearchPageEventParams *e);__property TipwLDAPSearchPageEvent OnSearchPage = {read=FOnSearchPage, write=FOnSearchPage};
typedef struct {
int MessageId;
String DN;
int ResultCode;
String Description;
bool CancelSearch;
} TipwLDAPSearchPageEventParams;
Remarks
This event is where the client can decide whether to continue with the Search operation or not. The signature is very similar to the SearchComplete event, with the addition of a CancelSearch parameter. If the search should be canceled (no more pages), the CancelSearch parameter should be set to true.