SPBucketHealthScoreCalculator.GetScoreBuckets Method

Gets the array of score values that define the subranges of scores—the "buckets"—used by CalculateScore(Double) to generate health scores.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function GetScoreBuckets As Double()
'Usage
Dim instance As SPBucketHealthScoreCalculator
Dim returnValue As Double()

returnValue = instance.GetScoreBuckets()
public double[] GetScoreBuckets()

Return Value

Type: []
The array of bucket boundaries.

See Also

Reference

SPBucketHealthScoreCalculator Class

SPBucketHealthScoreCalculator Members

Microsoft.SharePoint.Utilities Namespace

Other Resources

Request Throttling

How to: Create, Modify, and Change a Bucket-Style Health-Score Calculator