Compartir a través de


IUpdateSearcher::ServerSelection property

Gets and sets a ServerSelection value that indicates the server to search for updates.

This property is read/write.

Syntax

HRESULT put_ServerSelection(
  [in]  ServerSelection value
);

HRESULT get_ServerSelection(
  [out] ServerSelection *retval
);

Property value

A new ServerSelection value that indicates the server to search.

Error codes

Returns S_OK if successful. Otherwise, returns a COM or Windows error code.

Remarks

The site that is not a Windows Update site that is specified by the value of the ServiceID property is searched only if the value of the ServerSelection property is ssOthers.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional with SP3 [desktop apps only]

Minimum supported server

Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

See also

IUpdateSearcher