Partager via


IUpdate2 interface

Contains the properties and methods that are available to an update.

Members

The IUpdate2 interface inherits from IUpdate. IUpdate2 also has these types of members:

  • Methods
  • Properties

Methods

The IUpdate2 interface has these methods.

Method Description
CopyToCache

Copies files for an update from a specified source location to the internal Windows Update Agent (WUA) download cache.

 

Properties

The IUpdate2 interface has these properties.

Property Access type Description

CveIDs

Read-only

Gets a collection of common vulnerabilities and exposures (CVE) IDs that are associated with the update.

IsPresent

Read-only

Gets a Boolean value that indicates whether an update is present on a computer.

RebootRequired

Read-only

Gets a Boolean value that indicates whether a system restart is required on a computer to complete the installation or the uninstallation of an update.

 

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

IID

IID_IUpdate2 is defined as 144fe9b0-d23d-4a8b-8634-fb4457533b7a

See also

IUpdate