(wuapi.h) IUpdateInstaller2 介面

在電腦上安裝或卸載更新。

繼承

IUpdateInstaller2 介面繼承自 IUpdateInstaller 介面。

方法

IUpdateInstaller2 介面具有這些方法。

 
IUpdateInstaller2::get_ForceQuiet

取得並設定 Boolean 值,指出是否強制 Windows Installer 安裝更新而不需用戶互動。 (取得)
IUpdateInstaller2::p ut_ForceQuiet

取得並設定 Boolean 值,指出是否強制 Windows Installer 安裝更新而不需用戶互動。 (Put)

備註

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

規格需求

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

另請參閱

IUpdateInstaller