AFHealthStatus Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This enumeration defines the values for the Health StatusAFEnumerationSet.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public enum AFHealthStatus
Public Enumeration AFHealthStatus Dim instance As AFHealthStatus
public enum class AFHealthStatus
type AFHealthStatus
Members
| Member name | Value | Description | |
|---|---|---|---|
| Healthy | 0 | The value for the Healthy enumeration value in the Health Status enumeration set. | |
| OutOfService | 1 | The value for the Out of Service enumeration value in the Health Status enumeration set. | |
| InMaintenance | 2 | The value for the In Maintenance enumeration value in the Health Status enumeration set. | |
| Warning | 3 | The value for the Warning enumeration value in the Health Status enumeration set. | |
| Error | 4 | The value for the Error enumeration value in the Health Status enumeration set. |
Remarks
This enumeration defines the values for the Health Status enumeration set that is used with the HealthStatus attribute trait. These values can be used to lookup an AFEnumerationValue using the GetByValue(Int32) method.
| These enumeration values correspond to those used by the Health StatusAFEnumerationSet created by the SDK. |