IUpdateServiceManager2 interface
Adds or removes the registration of the update service with Windows Update Agent or Automatic Updates.
Members
The IUpdateServiceManager2 interface inherits from IUpdateServiceManager. IUpdateServiceManager2 also has these types of members:
- Methods
- Properties
Methods
The IUpdateServiceManager2 interface has these methods.
Method | Description |
---|---|
AddService2 | Registers a service with WUA without requiring an authorization cabinet file (.cab), and returns a pointer to an IUpdateServiceRegistration interface. |
QueryServiceRegistration | Returns a pointer to an IUpdateServiceRegistration interface. |
Properties
The IUpdateServiceManager2 interface has these properties.
Property | Access type | Description |
---|---|---|
Read/write |
Gets and sets the identifier of the current client application. |
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] |
Header |
Wuapi.h |
IDL |
Wuapi.idl |
Library |
Wuguid.lib |
DLL |
Wuapi.dll |
IID |
IID_IUpdateServiceManager2 is defined as 0BB8531D-7E8D-424F-986C-A0B8F60A3E7B |