Open this page in the API Guide

IDataCubeService.ModifyDataCubeRelationshipKeys Method

Allows the user to change the keys for a specified join operation within a DataCube.

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 ModifyDataCubeRelationshipKeys(
	Guid dataCubeId,
	Guid joinTransformId,
	IList<string> inputKeys,
	IList<string> referencedKeys
)

Parameters

dataCubeId
Type: System.Guid
The data cube ID.
joinTransformId
Type: System.Guid
The join transform ID.
inputKeys
Type: System.Collections.Generic.IList<String>
The input keys for the join operation.
referencedKeys
Type: System.Collections.Generic.IList<String>
The referenced keys for the join operation.

Return Value

Type: Boolean
true if the operation was successful, otherwise false.
Exceptions
ExceptionCondition
ArgumentNullExceptioninputKeys or referencedKeys is null.
ArgumentExceptiondataCubeId or joinTransformId is Empty. or inputKeys is empty or referencedKeys is empty or the number of inputKeys is different than the number of referencedKeys.
NoPrivilegeExceptionCaller does not have access to the specified data cube.
InvalidSessionExceptionThe caller context is not associated with a valid session.
NotFoundExceptionThe data cube with the specified ID does not exist.
NotFoundExceptionOne or more of the specified keys do not exist.
See Also