GetAggregatedResult Method
The collection of scan results to aggregate.
Returns an aggregation of the input results.
Syntax

Parameters

scanResults
The collection of scan results to aggregate.

Return Value

Aggregated result
Remarks

GetAggregatedResult receives a collection of results. It creates a new AggregatedScanResult object and populates the aggregate's data based on the data in the input results.

For example, this method sets the aggregate's summary, description, severity, and category. This method should populate the aggregate's data and controls collections to enable processing the aggregate.