EnableSuggestedSites method

Not supported. Enables or disables Suggested Sites feature from a Web page.

Syntax

HRESULT retVal = object.EnableSuggestedSites(fEnable);

Parameters

  • fEnable [in]
    Type: VARIANT_BOOL

    A VARIANT_BOOL that specifies VARIANT_TRUE to enable, VARIANT_FALSE to disable.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
E_ACCESSDENIED

The operation is not allowed.

Remarks

This method is available only on Suggested Sites service page.

See also

Reference

IShellUIHelper3::IsSuggestedSitesEnabled

IShellUIHelper3::NavigateToSuggestedSites