A Sandcastle Documented Class Library

# ITimeDimensionService GetDefaultTimeHierarchy Method

Gets the global default time hierarchy.

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 GetDefaultTimeHierarchy()

    Function GetDefaultTimeHierarchy As ITimeHierarchy

    ITimeHierarchy^ GetDefaultTimeHierarchy()

    abstract GetDefaultTimeHierarchy : unit -> ITimeHierarchy

#### Return Value

Type: ITimeHierarchy
The default time hierarchy.
Exceptions

Exception | Condition
--- | ---
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

ITimeDimensionService Interface
GetDefaultTimeHierarchy Overload
Dundas.BI.Entities.TimeDimensions Namespace