IUpdate2 介面 (wuapi.h)

包含可用於更新的屬性和方法。

繼承

IUpdate2 介面繼承自 IUpdateIUpdate2 也有下列類型的成員:

方法

IUpdate2 介面具有這些方法。

 
IUpdate2::CopyToCache

將更新的檔案從指定的來源位置複製到內部 Windows Update Agent (WUA) 下載快取。
IUpdate2::get_CveIDs

取得與更新相關聯的常見弱點和暴露 (CVE) 標識符集合。
IUpdate2::get_IsPresent

取得布爾值,指出計算機上是否有更新。
IUpdate2::get_RebootRequired

取得布爾值,指出計算機上是否需要系統重新啟動才能完成安裝或卸載更新。

規格需求

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

另請參閱

IUpdate