MeasureOverridesSetSortingOverride Method (SortDirection, IHierarchyLevel)

Configures measure sorting for the specified hierarchy level, when there are no opposite axis hierarchies.

Namespace:  Dundas.BI.Data.DataRetrieval
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
public void SetSortingOverride(
	SortDirection direction,
	IHierarchyLevel hierarchyLevel
)

Parameters

direction
Type: Dundas.BISortDirection
The sort direction.
hierarchyLevel
Type: Dundas.BI.Data.MetadataIHierarchyLevel
The hierarchy level.
Exceptions
ExceptionCondition
ArgumentNullExceptionhierarchyLevel is .
ArgumentExceptiondirection is invalid or hierarchyLevel is not a row hierarchy level.
InvalidOperationExceptionThe operation is invalid, as the metric set has opposite axis hierarchies for which members must be specified.
See Also