Platform SDK: Active Directory, ADSI, and Directory Services

ADS_PROPERTY_OPERATION_ENUM

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

typedef enum {
  ADS_PROPERTY_CLEAR       = 1,
  ADS_PROPERTY_UPDATE      = 2,
  ADS_PROPERTY_APPEND      = 3,
  ADS_PROPERTY_DELETE      = 4
  } ADS_PROPERTY_OPERATION_ENUM;

Elements

ADS_PROPERTY_CLEAR
Instructs the directory service to remove the property value(s) from the object.
ADS_PROPERTY_UPDATE
Instructs the directory service to replace the current value with the element(s) in the passed VARIANT array.
ADS_PROPERTY_APPEND
Instructs the directory service to append the new value(s) to the existing one(s).
ADS_PROPERTY_DELETE
Instructs the directory service to delete the specified value(s) of a property.

Remarks

The elements of this enumeration are used with the IADs::PutEx method, the document of which provides an example of how to use these enumerated constants.

Note  Because VBScript cannot read information from a type library, VBScript applications do not understand the symbolic constants as defined above. You should use the numerical constants instead to set the appropriate flags in your VBScript applications. If you want to use the symbolic constants as a good programming practice, you should make explicit declarations of such constants, as done here, in your VBScript applications.

Requirements

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
  Windows 95/98: Requires Windows 95 or later (with DSClient).
  Header: Declared in Iads.h.

See Also

ADSI Enumerations, IADs::PutEx