IAutomaticUpdatesSettings2::put_IncludeRecommendedUpdates method (wuapi.h)

[Set is no longer supported. Also, starting with Windows 10 calls to Get always return VARIANT_TRUE (include recommended updates). ]

Gets and sets a Boolean value that indicates whether to include optional or recommended updates when a search for updates and installation of updates is performed.

This property is read/write.

Syntax

HRESULT put_IncludeRecommendedUpdates(
  VARIANT_BOOL value
);

Parameters

value

Return value

None

Remarks

Only administrators can set this property.

The caller can modify the settings in the IAutomaticUpdatesSettings2 interface only if the ReadOnly property is VARIANT_TRUE. The ReadOnly property may change after the Refresh method is called.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional with SP3 [desktop apps only]
Minimum supported server Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]
Target Platform Windows
Header wuapi.h
Library Wuguid.lib
DLL Wuapi.dll

See also

IAutomaticUpdatesSettings2