SPSolutionResourceUsageAggregatorSum.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 SPSolutionResourceUsageAggregatorSum
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 result usage record if the end time of record is later, and adds the resource usage of record to the resource usage of the resulting usage record.

See also

Reference

SPSolutionResourceUsageAggregatorSum class

SPSolutionResourceUsageAggregatorSum members

Microsoft.SharePoint namespace