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

Parameters

connectorElement  ConnectorElement
The data cube connector element.
hierarchyId  Guid
The hierarchy identifier.
hierarchyUniqueName  String
The hierarchy unique name.
hierarchyLevel  String
Unique name of the hierarchy level.
keyMappings  ICollectionKeyValuePairString, Guid
The list of key-value pairs of hierarchy key element name and connector element Guid.

Return Value

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