iUpdateServiceManager2 接口 (wuapi.h)

添加或删除使用 Windows 更新 代理或自动汇报注册更新服务。

继承

IUpdateServiceManager2 接口继承自 IUpdateServiceManagerIUpdateServiceManager2 还具有以下类型的成员:

方法

IUpdateServiceManager2 接口包含以下方法。

 
IUpdateServiceManager2::AddService2

向 Windows 更新 Agent (WUA) 注册服务,而无需 (.cab) 授权文件。 此方法还返回指向 IUpdateServiceRegistration 接口的指针。
IUpdateServiceManager2::get_ClientApplicationID

获取并设置当前客户端应用程序的标识符。 (获取)
IUpdateServiceManager2::p ut_ClientApplicationID

获取并设置当前客户端应用程序的标识符。 (放置)
IUpdateServiceManager2::QueryServiceRegistration

返回指向 IUpdateServiceRegistration 接口的指针。

注解

可以使用 UpdateServiceManager coclass 创建此接口的实例。 使用 Microsoft.Update.ServiceManager 程序标识符创建对象。

要求

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

另请参阅

IUpdateServiceManager