Share via


IUpdate interface

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

Members

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

  • Methods
  • Properties

Methods

The IUpdate interface has these methods.

Method Description
AcceptEula

Accepts the Microsoft Software License Terms that are associated with an update.

CopyFromCache

Copies the contents of an update into a specified path.

 

Properties

The IUpdate interface has these properties.

Property Access type Description

AutoSelectOnWebSites

Read-only

Gets a Boolean value that indicates whether the update is flagged to be automatically selected by Windows Update.

BundledUpdates

Read-only

Gets an interface that contains information about the ordered list of the bundled updates for the update.

CanRequireSource

Read-only

Gets a Boolean value that indicates whether the source media of the update is required for installation or uninstallation.

Categories

Read-only

Gets an interface that contains a collection of categories to which the update belongs.

Deadline

Read-only

Gets the date by which the update must be installed.

DeltaCompressedContentAvailable

Read-only

Gets a Boolean value that indicates whether delta-compressed content is available on a server for the update.

DeltaCompressedContentPreferred

Read-only

Gets a Boolean value that indicates whether to prefer delta-compressed content during the download and install or uninstall of the update if delta-compressed content is available.

DeploymentAction

Read-only

Gets the action for which the update is deployed.

Description

Read-only

Gets the localized description of the update.

DownloadContents

Read-only

Gets file information about the download contents of the update.

DownloadPriority

Read-only

Gets the suggested download priority of the update.

EulaAccepted

Read-only

Gets a Boolean value that indicates whether the Microsoft Software License Terms that are associated with the update are accepted for the computer.

EulaText

Read-only

Gets the full localized text of the Microsoft Software License Terms that are associated with the update.

HandlerID

Read-only

Gets the install handler of the update.

Identity

Read-only

Gets an interface that contains the unique identifier of the update.

Image

Read-only

Gets an interface that contains information about an image that is associated with the update.

InstallationBehavior

Read-only

Gets an interface that contains the installation options of the update.

IsBeta

Read-only

Gets a Boolean value that indicates whether the update is a beta release.

IsDownloaded

Read-only

Gets a Boolean value that indicates whether all the update content is cached on the computer.

IsHidden

Read/write

Gets a Boolean value that indicates whether an update is hidden by a user.

IsInstalled

Read-only

Gets a Boolean value that indicates whether the update is installed on a computer when the search is performed.

IsMandatory

Read-only

Gets a Boolean value that indicates whether the installation of the update is mandatory.

IsUninstallable

Read-only

Gets a Boolean value that indicates whether a user can uninstall the update from a computer.

KBArticleIDs

Read-only

Gets a collection of Microsoft Knowledge Base article IDs that are associated with the update.

Languages

Read-only

Gets an interface that contains the languages that are supported by the update.

LastDeploymentChangeTime

Read-only

Gets the last published date of the update, in Coordinated Universal Time (UTC) date and time, on the server that deploys the update.

MaxDownloadSize

Read-only

Gets the maximum download size of the update.

MinDownloadSize

Read-only

Gets the minimum download size of the update.

MoreInfoUrls

Read-only

Gets a collection of language-specific strings that specify the hyperlinks to more information about the update.

MsrcSeverity

Read-only

Gets the Microsoft Security Response Center severity rating of the update.

RecommendedCPUSpeed

Read-only

Gets the recommended CPU speed used to install the update, in megahertz (MHz).

RecommendedHardDiskSpace

Read-only

Gets the recommended free space that should be available on the hard disk before you install the update. The free space is specified in megabytes (MB).

RecommendedMemory

Read-only

Gets the recommended physical memory size that should be available in your computer before you install the update. The physical memory size is specified in megabytes (MB).

ReleaseNotes

Read-only

Gets the localized release notes for the update.

SecurityBulletinIDs

Read-only

Gets a collection of string values that contain the security bulletin IDs that are associated with the update.

SupersededUpdateIDs

Read-only

Gets a collection of update identifiers. This collection of identifiers specifies the updates that are superseded by the update.

SupportUrl

Read-only

Gets a hyperlink to the language-specific support information for the update.

Title

Read-only

Gets the localized title of the update.

Type

Read-only

Gets the type of the update.

UninstallationBehavior

Read-only

Gets an interface that contains the uninstallation options for the update.

UninstallationNotes

Read-only

Gets the uninstallation notes for the update.

UninstallationSteps

Read-only

Gets an interface that contains the uninstallation steps for the update.

 

Remarks

If the BundledUpdates property contains an IUpdateCollection, some properties and methods of the update may only be available on the bundled updates, for example, DownloadContents or CopyFromCache.

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_IUpdate is defined as 6A92B07A-D821-4682-B423-5C805022CC4D