IUpdateDownloader 介面 (wuapi.h)

從伺服器下載更新。

繼承

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

方法

IUpdateDownloader 介面具有這些方法。

 
IUpdateDownloader::BeginDownload

啟動與更新相關聯的內容檔案異步下載。
IUpdateDownloader::D ownload

啟動與更新相關聯的內容檔案同步下載。
IUpdateDownloader::EndDownload

完成異步下載。
IUpdateDownloader::get_ClientApplicationID

取得並設定目前的用戶端應用程式。 (IUpdateDownloader.get_ClientApplicationID)
IUpdateDownloader::get_IsForced

取得並設定布爾值,指出 Windows Update 代理程式 (WUA) 強制下載已安裝或無法安裝的更新。 (取得)
IUpdateDownloader::get_Priority

取得並設定下載的優先順序級級。 (取得)
IUpdateDownloader::get_Updates

取得並設定介面,其中包含指定下載之更新的唯讀集合。 (取得)
IUpdateDownloader::p ut_ClientApplicationID

取得並設定目前的用戶端應用程式。 (IUpdateDownloader.put_ClientApplicationID)
IUpdateDownloader::p ut_IsForced

取得並設定布爾值,指出 Windows Update 代理程式 (WUA) 強制下載已安裝或無法安裝的更新。 (Put)
IUpdateDownloader::p ut_Priority

取得並設定下載的優先順序級級。 (Put)
IUpdateDownloader::p ut_Updates

取得並設定介面,其中包含指定下載之更新的唯讀集合。 (Put)

備註

您可以使用 UpdateDownloader coclass 來建立這個介面的實例。 使用 Microsoft.Update.Downloader 程式識別碼來建立 物件。

規格需求

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

另請參閱

IDispatch