IUpdate 介面 (wuapi.h)

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

繼承

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

方法

IUpdate 介面具有這些方法。

 
IUpdate::AcceptEula

接受與 Windows Update 相關聯的 Microsoft 軟體授權條款。
IUpdate::CopyFromCache

將更新的內容複製到指定的路徑。
IUpdate::get_AutoSelectOnWebSites

取得布爾值,指出更新是否標幟為由 Windows Update 自動選取。
IUpdate::get_BundledUpdates

取得介面,其中包含更新之配套更新之已排序列表的相關信息。
IUpdate::get_CanRequireSource

取得布爾值,指出安裝或卸載是否需要更新的來源媒體。
IUpdate::get_Categories

取得介面,其中包含更新所屬類別的集合。
IUpdate::get_Deadline

取得必須安裝更新的日期。
IUpdate::get_DeltaCompressedContentAvailable

取得布爾值,指出差異壓縮內容是否可在伺服器上取得更新。
IUpdate::get_DeltaCompressedContentPreferred

取得布爾值,這個值表示是否要在下載和安裝或卸載差異壓縮內容期間偏好使用差異壓縮內容,如果有差異壓縮的內容,則為 。
IUpdate::get_DeploymentAction

取得部署更新的動作。
IUpdate::get_Description

取得更新的當地語系化描述。
IUpdate::get_DownloadContents

取得有關下載更新內容的檔案資訊。
IUpdate::get_DownloadPriority

取得更新的建議下載優先順序。
IUpdate::get_EulaAccepted

取得布爾值,指出是否接受與計算機更新相關聯的 Microsoft 軟體授權條款。
IUpdate::get_EulaText

取得與更新相關聯之 Microsoft 軟體授權條款的完整當地語系化文字。
IUpdate::get_HandlerID

取得更新的安裝處理程式。
IUpdate::get_Identity

取得介面,其中包含更新的唯一標識符。
IUpdate::get_Image

取得介面,其中包含與更新相關聯之映像的相關信息。
IUpdate::get_InstallationBehavior

取得介面,其中包含更新的安裝選項。
IUpdate::get_IsBeta

取得布爾值,指出更新是否為 Beta 版本。
IUpdate::get_IsDownloaded

取得布爾值,指出計算機上是否快取所有更新內容。
IUpdate::get_IsHidden

取得布爾值,指出使用者是否隱藏更新。 (取得)
IUpdate::get_IsInstalled

取得布爾值,指出執行搜尋時是否在計算機上安裝更新。
IUpdate::get_IsMandatory

取得布爾值,指出更新的安裝是否為必要專案。
IUpdate::get_IsUninstallable

取得布爾值,指出使用者是否可以從計算機卸載更新。
IUpdate::get_KBArticleIDs

取得與更新相關聯的 Microsoft 知識庫文章標識碼集合。
IUpdate::get_Languages

取得介面,其中包含更新所支持的語言。
IUpdate::get_LastDeploymentChangeTime

在部署更新的伺服器上,取得更新的最後一個發行日期,以國際標準時間 (UTC) 日期和時間。
IUpdate::get_MaxDownloadSize

取得更新的下載大小上限。
IUpdate::get_MinDownloadSize

取得更新的下載大小下限。
IUpdate::get_MoreInfoUrls

取得語言特定字串的集合,指定更新詳細資訊的超連結。
IUpdate::get_MsrcSeverity

取得更新的 Microsoft 安全性回應中心嚴重性分級。
IUpdate::get_RecommendedCpuSpeed

取得用來安裝更新的建議 CPU 速度,以 mbhertz (MHz) 。
IUpdate::get_RecommendedHardDiskSpace

取得安裝更新之前,應該可在硬碟上使用的建議可用空間。 可用空間是以 MB (MB) 指定。
IUpdate::get_RecommendedMemory

取得建議的實體記憶體大小,該大小應在安裝更新之前於您的計算機中使用。 實體記憶體大小是以 MB 為單位指定, (MB) 。
IUpdate::get_ReleaseNotes

取得更新的當地語系化版本資訊。
IUpdate::get_SecurityBulletinIDs

取得字串值的集合,其中包含與更新相關聯的安全性布告欄標識符。
IUpdate::get_SupersededUpdateIDs

取得更新標識碼的集合。 這個標識元集合會指定更新所取代的更新。
IUpdate::get_SupportUrl

取得更新之語言特定支援資訊的超連結。
IUpdate::get_Title

取得更新的當地語系化標題。
IUpdate::get_Type

取得更新的類型。
IUpdate::get_UninstallationBehavior

取得介面,其中包含更新的卸載選項。
IUpdate::get_UninstallationNotes

取得更新的卸載附註。
IUpdate::get_UninstallationSteps

取得介面,其中包含更新的卸載步驟。
IUpdate::p ut_IsHidden

取得布爾值,指出使用者是否隱藏更新。 (Put)

備註

如果 BundledUpdates 屬性包含 IUpdateCollection,則某些更新的屬性和方法可能只能在配套更新上使用,例如 DownloadContentsCopyFromCache

規格需求

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