Share via


AddServiceFlag enumeration

Defines the possible ways in which the IUpdateServiceManager2 interface can process service registration requests.

Syntax

typedef enum tagAddServiceFlag { 
  asfAllowPendingRegistration  = 0x1,
  asfAllowOnlineRegistration   = 0x2,
  asfRegisterServiceWithAU     = 0x4
} AddServiceFlag;

Constants

  • asfAllowPendingRegistration
    Allows the update agent to process the service registration at a later time, when it next performs an online scan for updates.

  • asfAllowOnlineRegistration
    Allows the update agent to process the service registration immediately if network connectivity is available.

  • asfRegisterServiceWithAU
    Registers the service with Automatic Updates when the service is added.

Remarks

For info about how IUpdateServiceManager2::AddService2 behaves when you specify different combinations of AddServiceFlag values in the flags parameter, see the Remarks section of IUpdateServiceManager2::AddService2.

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

See also

IUpdateServiceManager2::AddService2