Share via


SPSolutionResourceUsageAggregatorMean.AggregateRecord method

Aggregates the specified usage record into the aggregation result.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides Sub AggregateRecord ( _
    record As SPSolutionResourceUsageRecord _
)
'Usage
Dim instance As SPSolutionResourceUsageAggregatorMean
Dim record As SPSolutionResourceUsageRecord

instance.AggregateRecord(record)
public override void AggregateRecord(
    SPSolutionResourceUsageRecord record
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The record parameter is null .

Remarks

This override sets the start time of record to the start time of the result usage record if the start time of record is earlier, sets the end time of record to the end time of the result usage record if the end time of record is later, and sets the ResourceUsage of the result usage record with the average resource usage of the usage records aggregated by the SPSolutionResourceUsageAggregatorMean.

See also

Reference

SPSolutionResourceUsageAggregatorMean class

SPSolutionResourceUsageAggregatorMean members

Microsoft.SharePoint namespace