ITimeHierarchyGetLevel 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 (24.3.0.1000)
Syntax
ITimeHierarchyLevel GetLevel(
	DateTimeGranularity granularity
)

Parameters

granularity
Type: Dundas.BI.DataDateTimeGranularity
The granularity.

Return Value

Type: ITimeHierarchyLevel
The time dimension level.
Exceptions
ExceptionCondition
NotFoundExceptionThe level with the specified granularity was not found.
See Also