UpdateState

Defines constants that indicate the state of an update.

Members

Member Description Value
Canceled The update is approved for installation, but the update, one of its children, or its parent was canceled by the Administrator. The update remains in this state until the download is resumed by calling IUpdate.ResumeDownload or by creating a new approval for this update. 6
Failed The update is approved for installation, but failed because of one of the following reasons:

  • One or more of the required files could not be retrieved from the upstream server
  • One or more of the child updates failed
The update remains in this state until the download is resumed by calling IUpdate.ResumeDownload or by creating a new approval for this update.
7
InstallationImpossible The update cannot be installed because of one of the following reasons:

  • The update does not support installation
  • The WSUS server does not support a language for which this update has a localized license agreement
  • One or more updates that bundled this update are in the InstallationImpossible state
You cannot approve the update for installation, but you may approve the update for scanning or removal. If the update is part of a bundle, you cannot install the parent update if one of its children is in the InstallationImpossible state.
2
LicenseAgreementFailed The update has a license agreement file associated with it, but the license agreement failed to download. You cannot approve the update for installation. The update remains in this state until the download is resumed by calling IUpdate.ResumeDownload or by creating a new approval for this update. 8
LicenseAgreementNotReady The license agreement for this update has not been downloaded to the server. You cannot approve the update for installation, but you may approve the update for scanning or removal. If the update is part of a bundle, you cannot install the parent update until all of its children have license agreements available. 1
NotNeeded The update is available to be approved for installation, but it is not yet needed. This state is used only if IUpdateServerConfiguration.HostBinariesOnMicrosoftUpdate is true. 3
NotReady The update is approved for installation but one or more files or child updates is not available. The server is trying to obtain the files and children necessary to install this update. 4
Ready The update is approved for installation and all files and children are available. Clients can download and install the update. 5

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.

See Also

IUpdate.State