UpdateServiceOption Enumeration

Defines the options that affect how the service registration for a scan package service is removed.

Syntax

typedef enum tagUpdateServiceOption {
  usoNonVolatileService
} UpdateServiceOption;

Constants

usoNonVolatileService Indicates that you must call the IUpdateServiceManager::RemoveService method to remove the service registration.

Failure to call the RemoveService method before releasing the IUpdateService interface causes a resource leak.

Remarks

If you do not specify usoNonVolatileService, the service registration is automatically removed when you release the IUpdateService interface.

The UpdateServiceOption enumeration may require that you update Windows Update Agent (WUA). For more information, see Updating Windows Update Agent.

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

See Also

IUpdateServiceManager::AddScanPackageService