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.

CalculateValues(MetricSampleInterval,Int32) Method
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
 

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