IAutomaticUpdatesSettings interface (wuapi.h)
Contains the settings that are available in Automatic Updates.
Inheritance
The IAutomaticUpdatesSettings interface inherits from the IDispatch interface. IAutomaticUpdatesSettings also has these types of members:
Methods
The IAutomaticUpdatesSettings interface has these methods.
IAutomaticUpdatesSettings::get_NotificationLevel Gets and sets how users are notified about Automatic Update events. (Get) |
IAutomaticUpdatesSettings::get_ReadOnly Gets a Boolean value that indicates whether the Automatic Update settings are read-only. |
IAutomaticUpdatesSettings::get_Required Gets a Boolean value that indicates whether Group Policy requires the Automatic Updates service. |
IAutomaticUpdatesSettings::get_ScheduledInstallationDay Gets and sets the days of the week on which Automatic Updates installs or uninstalls updates. (Get) |
IAutomaticUpdatesSettings::get_ScheduledInstallationTime Gets and sets the time at which Automatic Updates installs or uninstalls updates. (Get) |
IAutomaticUpdatesSettings::put_NotificationLevel Gets and sets how users are notified about Automatic Update events. (Put) |
IAutomaticUpdatesSettings::put_ScheduledInstallationDay Gets and sets the days of the week on which Automatic Updates installs or uninstalls updates. (Put) |
IAutomaticUpdatesSettings::put_ScheduledInstallationTime Gets and sets the time at which Automatic Updates installs or uninstalls updates. (Put) |
IAutomaticUpdatesSettings::Refresh Retrieves the latest Automatic Updates settings. |
IAutomaticUpdatesSettings::Save Applies the current Automatic Updates settings. |
Remarks
Note Starting with Windows 8 and Windows Server 2012, ScheduledInstallationDay and ScheduledInstallationTime are not supported and will return unreliable values. If you try to modify these properties, the operation will appear to succeed but will have no effect.
Note On Windows RT, you can no longer use the IAutomaticUpdatesSettings::Save method to configure Windows Update settings programmatically. The configuration operation fails if you use Save to set any value other than 4 (aunlScheduledInstallation).
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 |