Export (0) Print
Expand All

SPHealthScoreCalculator.CalculateScore method

When implemented in a derived class, translates a performance value into a health score from 0 to 10.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public abstract int CalculateScore(
	double value
)

Parameters

value
Type: System.Double

The value that is turned into a health score.

Return value

Type: System.Int32
The health score from 0 and 10.

0 represents the healthiest of the possible return values, and 10 represents the least healthy.

Show:
© 2014 Microsoft