Platform SDK: Active Directory, ADSI, and 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.

The IADsPropertyValue2 interface exposes the following methods.

Methods in Vtable Order

IUnknown methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IDispatch methods Description
GetTypeInfoCount Gets the number of type descriptions.
GetTypeInfo Gets a description of object's programmable interface.
GetIDsOfNames Maps name of method or property to DISPID.
Invoke Calls one of the object's methods, or gets and sets one of its properties.

IADsPropertyValue2 methods Description
GetObjectProperty Retrieves property values of an object.
PutObjectProperty Sets property values of an object.

Inheritance: Inherited from IDispatch, IUnknown

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

IADsPropertyEntry, IADsPropertyList, IADsPropertyValue