Open this page in the API Guide

IMetricSetService.AddTopBottomSettings 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 (25.1.0.1000)
Syntax
TopBottomSettings AddTopBottomSettings(
	MetricSet metricSet,
	string measureUniqueName,
	int topRecords,
	int bottomRecords
)

Parameters

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

Return Value

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