IUpdate Interface

The IUpdate interface contains the properties and methods that are available to an update.

Methods

The IUpdate interface inherits the methods of the IDispatch interface.

In addition, IUpdate defines the following methods.

MethodDescription

AcceptEula

Accepts the End-User License Agreement (EULA) that is associated with an update.

CopyFromCache

Copies the contents of an update into a specified path.

 

Properties

The IUpdate interface defines the following properties.

PropertyAccess typeDescription

AutoSelectOnWebSites

Read-only

Indicates whether the update is flagged to be automatically selected by Windows Update.

BundledUpdates

Read-only

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

CanRequireSource

Read-only

Indicates whether the source media of the update is required for installation or uninstallation.

Categories

Read-only

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

Deadline

Read-only

Retrieves the date by which the update must be installed.

DeltaCompressedContentAvailable

Read-only

Indicates whether delta-compressed content is available on a server for the update.

DeltaCompressedContentPreferred

Read-only

Indicates whether to prefer delta-compressed content during the download and install or uninstall of the update.

DeploymentAction

Read-only

Retrieves the action for which the update is deployed.

Description

Read-only

Retrieves the localized description of the update.

DownloadContents

Read-only

Retrieves file information about the download contents of the update.

DownloadPriority

Read-only

Indicates the suggested download priority of the update.

EulaAccepted

Read-only

Indicates whether the End-User License Agreement (EULA) that is associated with the update is accepted for the computer.

EulaText

Read-only

Retrieves the full localized text of the EULA that is associated with the update.

HandlerID

Read-only

Retrieves the install handler of the update.

Identity

Read-only

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

Image

Read-only

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

InstallationBehavior

Read-only

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

IsBeta

Read-only

Indicates whether the update is a beta release.

IsDownloaded

Read-only

Indicates whether all the update content is cached on the computer.

IsHidden

Read/write

Indicates whether an update is hidden by a user.

IsInstalled

Read-only

Indicates whether the update is installed on a computer when the search is performed.

IsMandatory

Read-only

Indicates whether the installation of the update is mandatory.

IsUninstallable

Read-only

Indicates whether a user can uninstall the update from a computer.

KBArticleIDs

Read-only

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

Languages

Read-only

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

LastDeploymentChangeTime

Read-only

Retrieves 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

Retrieves the maximum download size of the update.

MinDownloadSize

Read-only

Retrieves the minimum download size of the update.

MoreInfoUrls

Read-only

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

MsrcSeverity

Read-only

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

RecommendedCPUSpeed

Read-only

Retrieves the recommended CPU speed to install the update, in megahertz.

RecommendedHardDiskSpace

Read-only

Retrieves 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

Retrieves 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

Retrieves the localized release notes for the update.

SecurityBulletinIDs

Read-only

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

SupersededUpdateIDs

Read-only

Retrieves a collection of update IDs. This collection of update IDs specifies the updates that are superseded by the update.

SupportUrl

Read-only

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

Title

Read-only

Retrieves the localized title of the update.

Type

Read-only

Retrieves the type of the update.

UninstallationBehavior

Read-only

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

UninstallationNotes

Read-only

Retrieves the uninstallation notes for the update.

UninstallationSteps

Read-only

Retrieves 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 clientWindows XP, Windows 2000 Professional with SP3
Minimum supported serverWindows Server 2003, Windows 2000 Server with SP3
HeaderWuapi.h
IDLWuapi.idl
LibraryWuguid.lib
DLLWuapi.dll
IIDIID_IUpdate is defined as 6A92B07A-D821-4682-B423-5C805022CC4D

Send comments about this topic to Microsoft

Build date: 11/18/2009

Tags :


Page view tracker