Share via


IAutomaticUpdatesSettings::NotificationLevel property

[Set is no longer supported. Starting with Windows 10 calls to Set always return S_OK, but do nothing.]

Gets and sets how users are notified about Automatic Update events.

This property is read/write.

Syntax

HRESULT put_NotificationLevel(
  [in]  AutomaticUpdatesNotificationLevel value
);

HRESULT get_NotificationLevel(
  [out] AutomaticUpdatesNotificationLevel *retval
);

Property value

An AutomaticUpdatesNotificationLevel enumeration that indicates how users are notified about Automatic Update events.

Error codes

Returns S_OK if successful. Otherwise, returns a COM or Windows error code.

This method can also return the following error codes.

Name Meaning
WU_E_INVALID_OPERATION

The NotificationLevel property does not support the aunlNotConfigured constant. If the Save method is called and if the NotificationLevel property is set to aunlNotConfigured, the Save method returns WU_E_INVALID_OPERATION.

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]

End of client support

Windows 10

End of server support

Windows Server 2016

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

See also

IAutomaticUpdatesSettings