Compartir a través de


IUpdateHistoryEntry::ServerSelection property

Gets the ServerSelection value that indicates which server provided an update.

This property is read-only.

Syntax

HRESULT get_ServerSelection(
  [out] ServerSelection *retval
);

Property value

Indicates which server provided the update. The ServerSelection enumeration defines the following values.

ssDefault

Used only by IUpdateSearcher.

ssManagedServer

Indicates the managed server in an environment that uses Windows Server Update Services or a similar corporate update server to manage the computer.

ssWindowsUpdate

Indicates the Windows Update update service.

ssOthers

Indicates some update service other than those listed previously.

If ssOthers is returned, then the ServiceID property contains the ID of the service that provided the update.

Error codes

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

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

IUpdateHistoryEntry