IP*Works! 2016 .NET Edition
IP*Works! 2016 .NET Edition
Questions / Feedback?

SearchPage Event

Fired for every page returned from a search operation.

Syntax

[VB.NET]
Public Event OnSearchPage As OnSearchPageHandler
[C#]
public event OnSearchPageHandler OnSearchPage;

public delegate void OnSearchPageHandler(object sender, LdapSearchPageEventArgs e);

class LdapSearchPageEventArgs : EventArgs {
  int MessageId {get;}
  string DN {get;}
  int ResultCode {get;}
  string ResultDescription {get;}
  bool CancelSearch {get; set;}
}

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.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 .NET Edition - Version 16.0 [Build 7353]