ISettingsItem::GetRestrictionFacets method (wcmconfig.h)

Gets the restrictions defined for this item.

Syntax

HRESULT GetRestrictionFacets(
  [out] WcmRestrictionFacets *RestrictionFacets
);

Parameters

[out] RestrictionFacets

A bitmask of the WcmRestrictionFacets values that are defined for this item.

Return value

This method can return one of these values.

Return code Description
S_OK
Indicates success.
HRESULT_FROM_WIN32 (ERROR_INVALID_OPERATION)
Indicates that the item is not a scalar setting.
S_FALSE
Indicates that there is no value for the item.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wcmconfig.h
DLL SMIEngine.dll

See also

ISettingsItem