(wuapi.h) IUpdateService 介面

包含向 Windows Update Agent (WUA) 或自動更新註冊之服務的相關資訊。

繼承

IUpdateService介面繼承自 IDispatch 介面。

方法

IUpdateService介面具有這些方法。

 
IUpdateService::get_CanRegisterWithAU

取得布林值,指出服務是否可以向自動更新註冊。
IUpdateService::get_ContentValidationCert

取得用來簽署服務內容的憑證 SHA-1 雜湊。
IUpdateService::get_ExpirationDate

取得授權封包檔案到期的日期。
IUpdateService::get_IsManaged

取得布林值,指出服務是否為受控服務。
IUpdateService::get_IsRegisteredWithAU

取得布林值,指出服務是否已向自動更新註冊。
IUpdateService::get_IsScanPackageService

取得布林值,指出服務是否以掃描套件為基礎。
IUpdateService::get_IssueDate

取得發出授權封包檔案的日期。
IUpdateService::get_Name

取得服務的名稱。
IUpdateService::get_OffersWindowsUpdates

取得布林值,指出目前的服務是否從 Windows 更新提供更新。
IUpdateService::get_RedirectUrls

包含重新導向器封包檔案的 URL。
IUpdateService::get_ServiceID

擷取或設定服務的識別碼。
IUpdateService::get_ServiceUrl

擷取服務的 URL。
IUpdateService::get_SetupPrefix

識別安裝程式檔案的前置詞。

規格需求

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

另請參閱

IDispatch