SPHealthScoreCalculator.CalculateScore method
在衍生類別中實作時,請將效能值轉譯成健康分數從 0 到 10。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public MustOverride Function CalculateScore ( _
value As Double _
) As Integer
'用途
Dim instance As SPHealthScoreCalculator
Dim value As Double
Dim returnValue As Integer
returnValue = instance.CalculateScore(value)
public abstract int CalculateScore(
double value
)
參數
value
Type: System.Double值,這個值會轉換成健康分數。
傳回值
Type: System.Int32
健康情況的分數,從 0 到 10。
備註
0 代表可能的傳回值,healthiest,而 10 代表最良好。