IUpdate::get_IsMandatory method (wuapi.h)

Gets a Boolean value that indicates whether the installation of the update is mandatory.

This property is read-only.

Syntax

HRESULT get_IsMandatory(
  VARIANT_BOOL *retval
);

Parameters

retval

Return value

None

Remarks

If you try to mark a mandatory update as hidden, an error occurs.

Mandatory updates are updates to the Windows Update Agent (WUA) infrastructure. WUA may not require all mandatory updates to continue operating. However, these updates frequently improve performance or increase the number of products that WUA can offer. We recommend that you install all mandatory updates.

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

IUpdate