---
schema_version: "1"
id: 1e8d3e081dd0282e99ee89a84d49a9e1bd0ca75a1d2549d6f0f99484e5429e2e
title: DeployStatus Enum
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_enum_Metadata_DeployStatus.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_Metadata_DeployStatus.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c38f4dfb83403b21a428d676b43517de7f6b6b17395a8140bba313c633b0f199
description: The result status of a deployment.
---
# DeployStatus Enum

The result status of a deployment.

## Usage

Metadata.DeployResult.status uses this enum to describe the results of the deployment.

## Enum Values

The following are the values of the Metadata.DeployStatus enum.

| Value | Description |
| --- | --- |
| Canceled | The queued deployment was canceled. |
| Canceling | The queued deployment is being canceled. |
| Failed | The deployment failed. |
| FinalizingDeploy | The deployment has started, and is in the finalizing state. Deployments in the state can't be canceled. |
| FinalizingDeployFailed | The deployment failed during the finalizing state. |
| InProgress | The deployment has been started and is in progress. |
| Pending | The deployment has been queued but not started. |
| Succeeded | The deployment succeeded. |
| SucceededPartial | The deployment succeeded, but some components might not have been successfully deployed. Check Metadata.DeployResult for more details. |