GetValue Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetValue() method retrieves the current value for the specified KPI type.
'Declaration
Public Function GetValue( _
ByVal kpiType As KPIType, _
ByVal filterType As FilterType, _
ByVal filterDuration As Nullable(Of Integer), _
ByVal filterTimeUnit As FilterTimeUnit, _
ByVal filterStartTime As Nullable(Of Integer), _
ByVal filterEndTime As Nullable(Of Integer) _
) As Double
public double GetValue(
KPIType kpiType,
FilterType filterType,
Nullable<int> filterDuration,
FilterTimeUnit filterTimeUnit,
Nullable<int> filterStartTime,
Nullable<int> filterEndTime
)
Parameters
- kpiType
Required. Holds the KPIType enumeration value that specifies the current value of the KPI type that is being retrieved.
- filterType
Required. Holds a FilterType enumeration value that retrives the type by which to filter data.
- filterDuration
Optional. Holds an integer that retrives a value N if the FilterType is LastNHours.
- filterTimeUnit
Required. Holds a FilterTimeUnit enumeration value that specifies the time unit for a custom filter if the FilterType is Custom.
- filterStartTime
Optional. Holds an integer that specifies the current start time of the filter if the FilterType is Custom. The unit of time is specifed by the filterTimeUnit parameter.
- filterEndTime
Optional. Holds an integer that specifies the end time of the filter if the FilterType is Custom.
Return Value
Returns a floating point value that is the current value of the specified KPI type.