Open this page in the API Guide

ITimeDimensionService.GetTimeHierarchy Method

Gets the time hierarchy for the specified dimension, using the hierarchy unique name.

Namespace:  Dundas.BI.Entities.TimeDimensions
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
ITimeHierarchy GetTimeHierarchy(
	Guid dimensionId,
	string uniqueName
)

Parameters

dimensionId
Type: System.Guid
The dimension ID.
uniqueName
Type: System.String
The unique name of the hierarchy.

Return Value

Type: ITimeHierarchy
The requested time hierarchy.
Exceptions
ExceptionCondition
ArgumentExceptiondimensionId is Empty.
NotFoundExceptionThe dimension with the specified ID does not exist.
NoPrivilegeExceptionCaller does not have the Read privilege on the specified entity.
InvalidSessionExceptionThe caller context is not associated with a valid session.
InvalidProviderExceptionThe time dimension provider cannot be loaded.
ArgumentExceptionThe uniqueName is null or empty.
See Also