Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / LogMessageCollection Class / 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 the number of messages per interval present in the entire messages collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function CalculateValues( _
       ByVal interval As MetricSampleInterval, _
       ByVal intervals As Integer _
    ) As MetricValueCollection
    public MetricValueCollection CalculateValues( 
       MetricSampleInterval interval,
       int intervals
    )

    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
    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