ISettingsItem::GetRestrictionFacets method

Gets the restrictions defined for this item.

Syntax


HRESULT GetRestrictionFacets(
  [out]  WcmRestrictionFacets *RestrictionFacets
);

Parameters

RestrictionFacets [out]

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

Return value

This method can return one of these values.

Return codeDescription
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WcmConfig.h

IDL

WcmConfig.idl

DLL

SMIEngine.dll

See also

ISettingsItem

 

 

Community Additions

ADD
Show:
© 2014 Microsoft