SPSolutionResourceUsageAggregatorTimeWeightedMean.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 SPSolutionResourceUsageAggregatorTimeWeightedMean
Dim record As SPSolutionResourceUsageRecord
instance.AggregateRecord(record)
public override void AggregateRecord(
SPSolutionResourceUsageRecord record
)
Parameters
record
Type: Microsoft.SharePoint.SPSolutionResourceUsageRecordThe usage record to be aggregated.
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