IUpdateServiceManager interface

Adds or removes the registration of the update service with Windows Update Agent or Automatic Updates.


The IUpdateServiceManager interface has these methods.

Method Description
IUpdateServiceManager::AddScanPackageService Registers a scan package as a service with Windows Update Agent (WUA) and then returns an IUpdateService interface.
IUpdateServiceManager::AddService Registers a service with Windows Update Agent (WUA).
IUpdateServiceManager::get_Services Gets an IUpdateServiceCollection of the services that are registered with WUA.
IUpdateServiceManager::RegisterServiceWithAU Registers a service with Automatic Updates.
IUpdateServiceManager::RemoveService Removes a service registration from Windows Update Agent (WUA).
IUpdateServiceManager::SetOption Set options for the object that specifies the service ID. The SetOption method is also used to determine whether a warning is displayed when you change the registration of Automatic Updates.
IUpdateServiceManager::UnregisterServiceWithAU Unregisters a service with Automatic Updates.


You can create an instance of this interface by using the UpdateServiceManager coclass. Use the Microsoft.Update.ServiceManager program identifier to create the object.


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