Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFAttributeTrait.HealthScore Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttributeTrait.HealthScore Property
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: AFAttributeTrait
Returns 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:

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in