AFAttributeTrait.HealthScore Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
The AFAttributeTrait that defines the Health Score attribute trait.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
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: