Directory Services

IADsPropertyValue2

The IADsPropertyValue2 interface provides a flexible mechanism to represent property values in any data format, including new or customer-defined data types. It is also useful to deal with property values for multiple directory services. This interface defines two methods, namely, GetObjectProperty and PutObjectProperty. Both use a value-format pair as the parameters. Because IADsPropertyValue2 offers the benefit of extensibility, you should use this interface to render property values in general.

See IADsPropertyEntry Property Methods example code for creating a property value.

Methods in Vtable Order

The IADsPropertyValue2 interface inherits the methods of the standard COM interfaces:

In addition, IADsPropertyValue2 defines the following methods.

Method Description
GetObjectProperty Retrieves property values of an object.
PutObjectProperty Sets property values of an object.

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

IADsPropertyEntry, IADsPropertyList, IADsPropertyValue