SPSolutionResourceUsageAggregatorCountWeightedMean.AggregateRecord Method

Aggregates the specified usage record into the aggregation result.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Sub AggregateRecord ( _
    record As SPSolutionResourceUsageRecord _
)
'Usage
Dim instance As SPSolutionResourceUsageAggregatorCountWeightedMean
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 the usage record represented by the AggregatedRecord property of the base class to the start time of record if the start time of record is before the start time of the usage record; sets the end time of the usage record to the end time of the record if the end time of record is later than the end time of the usage record; and sets the ResourceUsage property of the resulting usage record to the weighted mean based on the sample count for each usage record aggregated by the SPSolutionResourceUsageAggregatorCountWeightedMean.

See Also

Reference

SPSolutionResourceUsageAggregatorCountWeightedMean Class

SPSolutionResourceUsageAggregatorCountWeightedMean Members

Microsoft.SharePoint Namespace