IDataCubeServiceCheckUserHierarchyCompatibility 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 (24.4.0.1000)
Syntax
bool CheckUserHierarchyCompatibility(
	ConnectorElement connectorElement,
	Guid hierarchyId,
	string hierarchyUniqueName,
	string hierarchyLevel,
	ICollection<KeyValuePair<string, Guid>> keyMappings
)

Parameters

connectorElement
Type: Dundas.BI.Data.TransformsConnectorElement
The data cube connector element.
hierarchyId
Type: SystemGuid
The hierarchy identifier.
hierarchyUniqueName
Type: SystemString
The hierarchy unique name.
hierarchyLevel
Type: SystemString
Unique name of the hierarchy level.
keyMappings
Type: System.Collections.GenericICollectionKeyValuePairString, 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 .
ArgumentExceptionhierarchyId is Empty or connectorElement is not a data cube output element or hierarchyLevel is 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