IUpdateServiceManager 介面 (wuapi.h)

使用 Windows Update Agent 或自動 匯報 新增或移除更新服務的註冊。

繼承

IUpdateServiceManager 介面繼承自 IDispatch 介面。 IUpdateServiceManager 也有下列類型的成員:

方法

IUpdateServiceManager 介面具有這些方法。

 
IUpdateServiceManager::AddScanPackageService

使用 Windows Update Agent (WUA) 註冊掃描套件作為服務,然後傳回 IUpdateService 介面。
IUpdateServiceManager::AddService

向 #DD30C9CC5D20F434CB14EB86915289FC2 Agent (WUA) 註冊服務。
IUpdateServiceManager::get_Services

取得向 WUA 註冊之服務的 IUpdateServiceCollection。
IUpdateServiceManager::RegisterServiceWithAU

使用自動 匯報 註冊服務。
IUpdateServiceManager::RemoveService

從 #DB281E4DE808D434C8B3B19BC517662FE Agent (WUA) 中移除服務註冊。
IUpdateServiceManager::SetOption

設定指定服務標識碼之 物件的選項。 SetOption 方法也可用來判斷當您變更自動 匯報 的註冊時是否顯示警告。
IUpdateServiceManager::UnregisterServiceWithAU

使用自動 匯報 取消註冊服務。

備註

您可以使用 UpdateServiceManager coclass 來建立此介面的實例。 使用 Microsoft.Update.ServiceManager 程式識別碼來建立 物件。

規格需求

需求
最低支援的用戶端 Windows XP、Windows 2000 Professional 與 SP3 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003、Windows 2000 Server 與 SP3 [僅限桌面應用程式]
目標平台 Windows
標頭 wuapi.h