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;

Values

ADS_PROPERTY_CLEAR
Instructs the directory service to remove all 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.

Since 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

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.

See Also

ADSI Enumerations, IADs::PutEx