IUpdateSearcher::get_ServerSelection 方法 (wuapi.h)

取得並設定 ServerSelection 值,指出要搜尋更新的伺服器。

這是可讀寫的屬性。

語法

HRESULT get_ServerSelection(
  ServerSelection *retval
);

參數

retval

傳回值

備註

只有在ServerSelection屬性值為 ssOthers 時,才會搜尋不是Windows Update網站之ServiceID屬性值所指定的網站。

規格需求

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

另請參閱

IUpdateSearcher