A Sandcastle Documented Class Library

# 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    ITimeHierarchy GetTimeHierarchy(
    	Guid dimensionId,
    	string uniqueName
    )

    Function GetTimeHierarchy (
    	dimensionId As Guid,
    	uniqueName As String
    ) As ITimeHierarchy

    ITimeHierarchy^ GetTimeHierarchy(
    	Guid dimensionId,
    	String^ uniqueName
    )

    abstract GetTimeHierarchy :
            dimensionId : Guid *
            uniqueName : string -> ITimeHierarchy

#### 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

Exception | Condition
--- | ---
ArgumentException | dimensionId is Empty.
NotFoundException | The dimension with the specified ID does not exist.
NoPrivilegeException | Caller does not have the Read privilege on the specified entity.
InvalidSessionException | The caller context is not associated with a valid session.
InvalidProviderException | The time dimension provider cannot be loaded.
ArgumentException | The uniqueName is or empty.

See Also

#### Reference

ITimeDimensionService Interface
Dundas.BI.Entities.TimeDimensions Namespace