OlapTimeHierarchyGetLevel Method (DateTimeGranularity)

Gets the time level using its granularity.

Namespace:  Dundas.BI.Data.Metadata.Olap
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.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