QueryResult.GetKpiValue Method (Kpi, String, IGlobalCache, TargetCollection)
Returns the value of 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, _
targets As TargetCollection _
) As KpiValue
'Usage
Dim instance As QueryResult
Dim kpi As Kpi
Dim slice As String
Dim localCache As IGlobalCache
Dim targets As TargetCollection
Dim returnValue As KpiValue
returnValue = instance.GetKpiValue(kpi, _
slice, localCache, targets)
public KpiValue GetKpiValue(
Kpi kpi,
string slice,
IGlobalCache localCache,
TargetCollection targets
)
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.
targets
Type: Microsoft.PerformancePoint.Scorecards.TargetCollectionThe targets to add to the value, or a null reference (Nothing in Visual Basic) to add all KPI targets.
Return Value
Type: Microsoft.PerformancePoint.Scorecards.KpiValue
The value of the KPI at the specified slice.