Property methods take the form of either get_<property> or put_<property>. The property methods of the IADsPropertyEntry interface read and write the properties described below. For more information, see Interface Property Methods.
Property | Access | Method Prototype |
---|---|---|
Name | R/W | HRESULT get_Name ([out] BSTR *pbstrName);
HRESULT put_Name |
ADsType | R/W | HRESULT get_ADsType ([out] LONG *plADsType);
HRESULT put_ADsType |
ControlCode | R/W | HRESULT get_ControlCode ([out] LONG * pControlCode;
HRESULT put_ControlCode |
Values | R/W | HRESULT get_Values ([out] VARIANT *pvValues);
HRESULT put_Values |
Each property method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
ADSTYPE, Using Directory Service Queries , IADsPropertyList, IADsPropertyValue, Property Cache