MeasureSortingSortByHierarchy Method (SortDirection, IHierarchyLevel)

Sorts the measure values for the specified hierarchy level.

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,
	IHierarchyLevel hierarchyLevel
)

Parameters

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