QueryResult.GetKpiValue Method (Kpi, String, IGlobalCache)
Returns the value of a key performance indicator (KPI) for the specified slice.
Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)
Syntax
'Declaration
Public Function GetKpiValue ( _
kpi As Kpi, _
slice As String, _
localCache As IGlobalCache _
) As KpiValue
'Usage
Dim instance As QueryResult
Dim kpi As Kpi
Dim slice As String
Dim localCache As IGlobalCache
Dim returnValue As KpiValue
returnValue = instance.GetKpiValue(kpi, _
slice, localCache)
public KpiValue GetKpiValue(
Kpi kpi,
string slice,
IGlobalCache localCache
)
Parameters
kpi
Type: Microsoft.PerformancePoint.Scorecards.KpiThe KPI to query for.
slice
Type: System.StringThe slice to query on.
localCache
Type: Microsoft.PerformancePoint.Scorecards.IGlobalCacheThe local cache.
Return Value
Type: Microsoft.PerformancePoint.Scorecards.KpiValue
The value of the KPI at the specified slice.