IMetricSetServiceAddTopBottomSettings Method

Adds top/bottom settings to the metric set and then saves the metric set.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
TopBottomSettings AddTopBottomSettings(
	MetricSet metricSet,
	string measureUniqueName,
	int topRecords,
	int bottomRecords
)

Parameters

metricSet
Type: Dundas.BI.Entities.MetricSetsMetricSet
The metric set.
measureUniqueName
Type: SystemString
The unique name of the measure for which top/bottom analysis is performed.
topRecords
Type: SystemInt32
The number of records with the highest values.
bottomRecords
Type: SystemInt32
The number of records with the lowest values.

Return Value

Type: TopBottomSettings
The top/bottom settings property.
Exceptions
ExceptionCondition
ArgumentNullExceptionmetricSet is .
ArgumentExceptionmeasureUniqueName does not reference a valid measure.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also