Partager via


InstallationStatus Enumeration

 

Applies To: Windows Server Update Services

Defines constants for the possible installation states of an update on the client computer.

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

Syntax

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

Members

Member name Description
DetectionComplete

Completed scanning the client computer for applicable updates.

DetectionFailed

Scanning of the client computer for applicable updates failed.

DownloadCanceled

Downloading of the update to the client computer was canceled.

DownloadFailed

Downloading of the update to the client computer failed.

DownloadSucceeded

Downloading of the update to the client computer succeeded.

Failed

Failed to install the update on the client computer.

Installable

The update is applicable to the client computer, but the update is not installed.

Installed

The update is applicable to the client computer and is currently installed.

NotApplicable

The update is not applicable to the client computer.

Started

Started the installation or removal of an update on the client computer.

Succeeded

Successfully installed the update on the client computer.

Superseded

The update is applicable to the client computer, but the update is superseded by another update that is currently installed.

UninstallationFailed

Failed to remove the update from the client computer.

UninstallationSucceeded

Successfully removed the update from the client computer.

Unknown

The installation status is unknown. The client may not have synchronized with the WSUS server.

Remarks

The client sends the following status codes to indicate the result of a scan (which occurs when the update is downloaded):

  • Installable

  • Installed

  • Superseded

  • NotApplicable

The client sends the following status codes when it initiates the detection logic (the client asks the WSUS server for a list of updates and then scans itself to determine which updates apply). The status codes are not associated with an update.

  • DetectionComplete

  • DetectionFailed

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top