Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The EnumAttributeValues method retrieves the values for an enumerable attribute.
Syntax
HRESULT EnumAttributeValues(
[in] ATTRIBUTEID Id,
[out] VARIANT *pValueIds,
[out] VARIANT *pValuesDesc
);
Parameters
[in] Id
Specifies the ID of the attribute.
[out] pValueIds
On successful return points to a SAFEARRAY of value IDs for the enumerable attribute. If the attribute is not enumerable, points to a VT_EMPTY variant.
[out] pValuesDesc
On successful return points to a SAFEARRAY of value descriptions for the enumerable attribute. If the attribute is not enumerable, points to a VT_EMPTY variant.
Return value
If the method succeeds the return value is S_OK.
If the method fails, the return value is one of the following error codes.
Remarks
The return value is S_OK even if the attribute is not enumerable.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | sdoias.h |
| DLL | Iassdo.dll |