Modifies specified attribute definitions of the directory service object.
HRESULT SetObjectAttributes(
PADS_ATTR_INFO pAttributeEntries,
//Attributes and values to be set
DWORD dwNumberAttributes, //Number of attributes to be set
DWORD * pdwNumAttributesModified
//Number of attributes set
);
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following: