AFAttributeTrait.HealthScore Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFAttributeTrait that defines the Health Score attribute trait.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFAttributeTrait HealthScore { get; }
Public Shared ReadOnly Property HealthScore As AFAttributeTrait Get Dim value As AFAttributeTrait value = AFAttributeTrait.HealthScore
public: static property AFAttributeTrait^ HealthScore { AFAttributeTrait^ get (); }
static member HealthScore : AFAttributeTrait with get
Property Value
Type: AFAttributeTraitReturns the AFAttributeTrait that defines the Health Score attribute trait.
Remarks
The value of the health score is not enforced to be within a range, but it is normally a value between 0 (bad) and 100 (good).
When using the FindAttributeTrait(String) method to find this trait, you can use the name 'HealthScore'. This trait has the following behaviors: