ITimeDimensionServiceGetTimeHierarchy 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 (24.3.0.1000)
Syntax
ITimeHierarchy GetTimeHierarchy(
	Guid dimensionId,
	string uniqueName
)

Parameters

dimensionId
Type: SystemGuid
The dimension ID.
uniqueName
Type: SystemString
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 or empty.
See Also