Platform SDK: Active Directory, ADSI, and Directory Services

PutEx Method

The IADs::PutEx method uses the name of a property to save a single or multi-valued property into the property cache. This overwrites any value currently in the property cache. The values in the cache are not written to the underlying directory service until an IADs::SetInfo occurs. The first argument of PutEx indicates whether you want to replace or add to any existing values for the property. In the following example, any existing values of the description attribute would be erased in the cache when PutEx is called and erased on the server when SetInfo is called.