A Sandcastle Documented Class Library

# ITimeHierarchy GetLevel Method (DateTimeGranularity)

Gets the time level using its granularity.

Namespace: Dundas.BI.Data.Metadata
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    ITimeHierarchyLevel GetLevel(
    	DateTimeGranularity granularity
    )

    Function GetLevel (
    	granularity As DateTimeGranularity
    ) As ITimeHierarchyLevel

    ITimeHierarchyLevel^ GetLevel(
    	DateTimeGranularity granularity
    )

    abstract GetLevel :
            granularity : DateTimeGranularity -> ITimeHierarchyLevel

#### Parameters

granularity
  Type: Dundas.BI.Data
  DateTimeGranularity
  The granularity.

#### Return Value

Type: ITimeHierarchyLevel
The time dimension level.
Exceptions

Exception | Condition
--- | ---
NotFoundException | The level with the specified granularity was not found.

See Also

#### Reference

ITimeHierarchy Interface
GetLevel Overload
Dundas.BI.Data.Metadata Namespace