MeasureSortingSortByHierarchy Method (SortDirection, IHierarchy)

Sorts the measure values for all the levels of the specified hierarchy.

Namespace:  Dundas.BI.Data.Metadata
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
public void SortByHierarchy(
	SortDirection direction,
	IHierarchy hierarchy
)

Parameters

direction
Type: Dundas.BISortDirection
The direction.
hierarchy
Type: Dundas.BI.Data.MetadataIHierarchy
The hierarchy.
Exceptions
ExceptionCondition
ArgumentNullExceptionhierarchy is .
ArgumentExceptiondirection is invalid or hierarchy is not an axis hierarchy or the current metric set has opposite axis hierarchies for which specific members must be specified.
See Also