Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Extensibility.Data Namespace / IMetric Interface / CalculateValues Method / CalculateValues(MetricSampleInterval,Int32) Method
The requested data sample size
The number of intervals to have between each value exactly.

In This Topic
    CalculateValues(MetricSampleInterval,Int32) Method
    In This Topic
    Calculate displayable values based on the full information captured for this metric with the specified interval for all dates available
    Syntax
    'Declaration
     
    
    Overloads Function CalculateValues( _
       ByVal interval As MetricSampleInterval, _
       ByVal intervals As Integer _
    ) As IMetricValueCollection

    Parameters

    interval
    The requested data sample size
    intervals
    The number of intervals to have between each value exactly.

    Return Value

    A metric value set suitable for display
    Remarks
    The raw values may not be suitable for display depending on the unit the values are captured in, and depending on how the data was sampled it may not display well because of uneven sampling if processed directly.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also