C# Class Novell.Directory.Ldap.Controls.LdapPersistSearchControl

LdapPersistSearchControl is a Server Control that allows a client to receive notifications from the server of changes to entries within the searches result set. The client can be notified when an entry is added to the result set, when an entry is deleted from the result set, when a DN has been changed or when and attribute value has been changed.
Inheritance: Novell.Directory.Ldap.LdapControl
Exibir arquivo Open project: EventStore/csharp-ldap Class Usage Examples

Public Properties

Property Type Description
ANY int

Public Methods

Method Description
LdapPersistSearchControl ( int changeTypes, bool changesOnly, bool returnControls, bool isCritical ) : System

Constructs an LdapPersistSearchControl object according to the supplied parameters. The resulting control is used to specify a persistent search.

ToString ( ) : System.String

Private Methods

Method Description
LdapPersistSearchControl ( ) : System
setValue ( ) : void

Sets the encoded value of the LdapControlClass

Method Details

LdapPersistSearchControl() public method

Constructs an LdapPersistSearchControl object according to the supplied parameters. The resulting control is used to specify a persistent search.
public LdapPersistSearchControl ( int changeTypes, bool changesOnly, bool returnControls, bool isCritical ) : System
changeTypes int the change types to monitor. The bitwise OR of any /// of the following values: ///
  • LdapPersistSearchControl.ADD
  • ///
  • LdapPersistSearchControl.DELETE
  • ///
  • LdapPersistSearchControl.MODIFY
  • ///
  • LdapPersistSearchControl.MODDN
  • /// To track all changes the value can be set to: ///
  • LdapPersistSearchControl.ANY
  • /// ///
    changesOnly bool true if you do not want the server to return /// all existing entries in the directory that match the search /// criteria. (Use this if you just want the changed entries to be /// returned.) /// ///
    returnControls bool true if you want the server to return entry /// change controls with each entry in the search results. You need to /// return entry change controls to discover what type of change /// and other additional information about the change. /// ///
    isCritical bool true if this control is critical to the search /// operation. If true and the server does not support this control, /// the server will not perform the search at all. ///
    return System

    ToString() public method

    public ToString ( ) : System.String
    return System.String

    Property Details

    ANY public_oe static_oe property

    Change type specifying that you want to track any of the above modifications.
    public static int ANY
    return int