Freigeben über


ServerSelection enumeration

Defines the update services that Windows Update can operate against.

Syntax

typedef enum  { 
  ssDefault        = 0,
  ssManagedServer  = 1,
  ssWindowsUpdate  = 2,
  ssOthers         = 3
} ServerSelection;

Constants

  • ssDefault
    Used only by IUpdateSearcher. Indicates that the search call should search the default server.

    The default server used by the Windows Update Agent (WUA) is the same as ssMangagedServer if the computer is set up to have a managed server. If the computer is not been set up to have a managed server, WUA uses the first update service for which the IsRegisteredWithAU property of IUpdateService is VARIANT_TRUE and the IsManaged property of IUpdateService is VARIANT_FALSE

  • 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 service.

  • ssOthers
    Indicates some update service other than those listed previously. If the ServerSelection property of a Windows Update Agent API object is set to ssOthers, then the ServiceID property of the object contains the ID of the service.

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