Skip to content

ADS_PROPERTY_OPERATION_ENUM

The ADS_PROPERTY_OPERATION_ENUM enumeration specifies ways to update a named property in the property cache.

Syntax

enum ADS_PROPERTY_OPERATION_ENUM
{
    ADS_PROPERTY_NONE                 = 0,  //0x0
    ADS_PROPERTY_CLEAR                = 1,  //0x1
    ADS_PROPERTY_UPDATE               = 2,  //0x2
    ADS_PROPERTY_APPEND               = 3,  //0x3
    ADS_PROPERTY_DELETE               = 4   //0x4
}

Constants

  • Flag

  • Description

  • ADS_PROPERTY_CLEAR

  • Instructs Adaxes to remove all the property value(s) from the object.

  • ADS_PROPERTY_UPDATE

  • Instructs Adaxes to replace the current value(s) with the specified value(s).

  • ADS_PROPERTY_APPEND

  • Instructs Adaxes to append the specified value(s) to the existing value(s).

    When the ADS_PROPERTY_APPEND operation is specified, the new attribute value(s) are automatically committed to the directory and removed from the local cache. This forces the local cache to be updated from the directory the next time the attribute value(s) are retrieved.

  • ADS_PROPERTY_DELETE

  • Instructs Adaxes to delete the specified value(s) from the object.

  • ADS_PROPERTY_NONE

  • No operation.

Remarks

The elements of this enumeration are used with the IADs::PutEx method.

Requirements

Minimum required version: 2009.1

See also