IUpdate::IsHidden property
Gets a Boolean value that indicates whether an update is hidden by a user. Administrators, users, and power users can retrieve the value of this property. However, only administrators and members of the Power Users administrative group can set the value of this property.
This property is read/write.
Syntax
HRESULT put_IsHidden(
[in] VARIANT_BOOL value
);
HRESULT get_IsHidden(
[out] VARIANT_BOOL *retval
);
Property value
Indicates whether the user is hiding the update for installation. VARIANT_TRUE if the update installation is hidden by a user; otherwise, VARIANT_FALSE.
Note Only administrators and power users can set the value for the IsHidden property.
Error codes
Returns S_OK if successful. Otherwise, returns a COM or Windows error code.
Remarks
An attempt to mark a mandatory update as hidden causes an error.
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] |
Header |
Wuapi.h |
IDL |
Wuapi.idl |
Library |
Wuguid.lib |
DLL |
Wuapi.dll |