Share via


IUpdateSession2 介面 (wuapi.h)

表示呼叫端可執行涉及更新之作業的會話。 例如,這個介面代表呼叫端執行搜尋、下載、安裝或卸載作業的會話。

繼承

IUpdateSession2 介面繼承自 IUpdateSession 介面。

方法

IUpdateSession2 介面具有這些方法。

 
IUpdateSession2::get_UserLocale

取得並設定擷取更新資訊的慣用地區設定。 (取得)
IUpdateSession2::p ut_UserLocale

取得並設定擷取更新資訊的慣用地區設定。 (Put)

備註

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

規格需求

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

另請參閱

IUpdateSession