SPSolutionResourceUsageAggregatorTimeWeightedMean.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 SPSolutionResourceUsageAggregatorTimeWeightedMean
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 resulting usage record if the start time of record is earlier; sets the end time of record to the end time of the resulting usage record if the end time of record is later; and sets the ResourceUsage of the resulting usage record with a weighted mean based on the time length for each usage record aggregated by the SPSolutionResourceUsageAggregatorTimeWeightedMean.

See also

Reference

SPSolutionResourceUsageAggregatorTimeWeightedMean class

SPSolutionResourceUsageAggregatorTimeWeightedMean members

Microsoft.SharePoint namespace