DataCubeSetupHierarchy Method (ConnectorElement, ITimeHierarchyLevel)

Setups a IHierarchy object by linking an existing time hierarchy level to the specified ConnectorElement.

Namespace:  Dundas.BI.Entities.DataCubes
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public IHierarchy SetupHierarchy(
	ConnectorElement connectorElement,
	ITimeHierarchyLevel timeLevel
)

Parameters

connectorElement
Type: Dundas.BI.Data.TransformsConnectorElement
The connector element to be linked to the time hierarchy level.
timeLevel
Type: Dundas.BI.Data.MetadataITimeHierarchyLevel
The time hierarchy level.

Return Value

Type: IHierarchy
The linked hierarchy.
Exceptions
ExceptionCondition
ArgumentNullExceptionconnectorElement or timeLevel is .
ArgumentExceptionconnectorElement does not belong to the current instance or has an invalid data type.
See Also