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:
|
7 |
InstallationImpossible | The update cannot be installed because of one of the following reasons:
|
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. |