TimeHierarchyGetLevel Method (DateTimeGranularity)

Gets the time level using its granularity.

Namespace:  Dundas.BI.Entities.TimeDimensions
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
public ITimeHierarchyLevel GetLevel(
	DateTimeGranularity granularity
)

Parameters

granularity
Type: Dundas.BI.DataDateTimeGranularity
The granularity.

Return Value

Type: ITimeHierarchyLevel
The time dimension level.

Implements

ITimeHierarchyGetLevel(DateTimeGranularity)
Exceptions
ExceptionCondition
NotFoundExceptionThe level with the specified granularity was not found.
See Also