IAutomaticUpdatesSettings::p ut_NotificationLevel 方法 (wuapi.h)

[不再支持 Set 。 从Windows 10调用 Set 始终返回S_OK,但不执行任何操作。]

获取并设置有关自动更新事件的通知用户的方式。

此属性是可读写的。

语法

HRESULT put_NotificationLevel(
  AutomaticUpdatesNotificationLevel value
);

参数

value

返回值

要求

要求
最低受支持的客户端 Windows XP、Windows 2000 Professional 和 SP3 [仅限桌面应用]
最低受支持的服务器 Windows Server 2003、Windows 2000 Server SP3 [仅限桌面应用]
目标平台 Windows
标头 wuapi.h
Library Wuguid.lib
DLL Wuapi.dll

另请参阅

IAutomaticUpdatesSettings