IAutomaticUpdatesSettings2::get_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 get_IncludeRecommendedUpdates(
  VARIANT_BOOL *retval
);

Parameters

retval

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

   
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