Share via


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

Return value

Type: Microsoft.PerformancePoint.Scorecards.KpiValue
The value of the KPI at the specified slice.

See also

Reference

QueryResult class

QueryResult members

GetKpiValue overload

Microsoft.PerformancePoint.Scorecards namespace