Compartilhar via


UpdateState Enumeration

 

Applies To: Windows Server Update Services

Defines constants that indicate the state of an update.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

[SerializableAttribute]
[ComVisibleAttribute(true)]
public enum UpdateState
[SerializableAttribute]
[ComVisibleAttribute(true)]
public enum class UpdateState
[<SerializableAttribute>]
[<ComVisibleAttribute(true)>]
type UpdateState
<SerializableAttribute>
<ComVisibleAttribute(True)>
Public Enumeration UpdateState

Members

Member name Description
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 ResumeDownload or by creating a new approval for this update.

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 ResumeDownload or by creating a new approval for this update.

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 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.

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 ResumeDownload or by creating a new approval for this update.

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 removal. If the update is part of a bundle, you cannot install the parent update until all of its children have license agreements available.

NotNeeded

The update is available to be approved for installation, but it is not yet needed. This state is used only if HostBinariesOnMicrosoftUpdate is true.

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.

Ready

The update is approved for installation and all files and children are available. Clients can download and install the update.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top