IUpdateServiceManager2 interface

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

Methods

The IUpdateServiceManager2 interface has these methods.

Method Description
IUpdateServiceManager2::AddService2 Registers a service with Windows Update Agent (WUA) without requiring an authorization cabinet file (.cab). This method also returns a pointer to an IUpdateServiceRegistration interface.
IUpdateServiceManager2::get_ClientApplicationID Gets and sets the identifier of the current client application.
IUpdateServiceManager2::put_ClientApplicationID Gets and sets the identifier of the current client application.
IUpdateServiceManager2::QueryServiceRegistration Returns a pointer to an IUpdateServiceRegistration interface.

Remarks

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

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]
Target Platform Windows
Header wuapi.h

See Also

IUpdateServiceManager