Open this page in the API Guide

IDataCubeService.CheckUserHierarchyCompatibility Method

Checks if a connector element can be promoted to the specified user hierarchy.

Namespace:  Dundas.BI.Entities.DataCubes
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
bool CheckUserHierarchyCompatibility(
	ConnectorElement connectorElement,
	Guid hierarchyId,
	string hierarchyUniqueName,
	string hierarchyLevel,
	ICollection<KeyValuePair<string, Guid>> keyMappings
)

Parameters

connectorElement
Type: Dundas.BI.Data.Transforms.ConnectorElement
The data cube connector element.
hierarchyId
Type: System.Guid
The hierarchy identifier.
hierarchyUniqueName
Type: System.String
The hierarchy unique name.
hierarchyLevel
Type: System.String
Unique name of the hierarchy level.
keyMappings
Type: System.Collections.Generic.ICollection<KeyValuePair<String, Guid>>
The list of key-value pairs of hierarchy key element name and connector element Guid.

Return Value

Type: Boolean
A value indicating whether or not the promotion is compatible.
Exceptions
ExceptionCondition
ArgumentNullExceptionconnectorElement is null.
ArgumentExceptionhierarchyId is Empty or connectorElement is not a data cube output element or hierarchyLevel is null or Empty.
NotFoundExceptionThe hierarchy with the specified hierarchyId does not exist.
NotFoundExceptionThe hierarchy level with the specified hierarchyLevel unique name does not exist.
NotFoundExceptionAn Element with an Id of one of the Guids in keyMappings does not exist.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also