SPSolutionResourceUsageAggregatorCount.AggregateRecord method
Aggregates the sample count of the specified usage records 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 SPSolutionResourceUsageAggregatorCount
Dim record As SPSolutionResourceUsageRecord
instance.AggregateRecord(record)
public override void AggregateRecord(
SPSolutionResourceUsageRecord record
)
Parameters
record
Type: Microsoft.SharePoint.SPSolutionResourceUsageRecordThe usage records from which the sample count is aggregated into the result.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The record parameter is null . |
Remarks
This override adds the sample count of record to the sample count of the resulting usage records represented by the AggregatedRecord property and increments the count of records represented by the RecordCount property.
See also
Reference
SPSolutionResourceUsageAggregatorCount class