Open this page in the API Guide

IDataRetrievalService.RetrieveDataRegionStatisticsAsync Method (ClientRequest, ICollection<DataRegion>)

Computes the measure statistics for the requested data regions within a specified data result.

Namespace:  Dundas.BI.Data.DataRetrieval
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
DataStatisticsContext RetrieveDataRegionStatisticsAsync(
	ClientRequest request,
	ICollection<DataRegion> dataRegions
)

Parameters

request
Type: Dundas.BI.Data.DataRetrieval.ClientRequest
The data request used as source data for the specified regions.
dataRegions
Type: System.Collections.Generic.ICollection<DataRegion>
The data regions.

Return Value

Type: DataStatisticsContext
The statistics result,containing the collection of computed measure statistics.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe request was null.
ArgumentExceptionThe dataRegions was null or empty.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also