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