ADS_PROPERTY_OPERATION_ENUM

The ADS_PROPERTY_OPERATION_ENUM enumeration specifies ways to modify a 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_NONE

  • No modification.

  • ADS_PROPERTY_CLEAR

  • Remove all the property values from the object.

  • ADS_PROPERTY_UPDATE

  • Replace the current values with the specified values.

  • ADS_PROPERTY_APPEND

  • Append the specified values to the existing values.

    When the ADS_PROPERTY_APPEND operation is specified, the new attribute values 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 values are retrieved.

  • ADS_PROPERTY_DELETE

  • Delete the specified values from the object.

Remarks

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

Requirements

Minimum required version: 2009.1

See also