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.4.0.1000)
Syntax public ITimeHierarchyLevel GetLevel(
DateTimeGranularity granularity
)
Public Function GetLevel (
granularity As DateTimeGranularity
) As ITimeHierarchyLevel
public:
virtual ITimeHierarchyLevel^ GetLevel(
DateTimeGranularity granularity
) sealed
abstract GetLevel :
granularity : DateTimeGranularity -> ITimeHierarchyLevel
override GetLevel :
granularity : DateTimeGranularity -> ITimeHierarchyLevel
Parameters
- granularity
- Type: Dundas.BI.DataDateTimeGranularity
The granularity.
Return Value
Type:
ITimeHierarchyLevelThe time dimension level.
Implements
ITimeHierarchyGetLevel(DateTimeGranularity)Exceptions Exception | Condition |
---|
NotFoundException | The level with the specified granularity was not found. |
See Also