IDataCubeServiceReplaceElementNames Method

Replaces element native names in given Select Transform.

Namespace: Dundas.BI.Entities.DataCubes
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
void ReplaceElementNames(
	DataCube dataCube,
	Guid selectTransformId,
	IDictionary<string, string> elementsMap
)

Parameters

dataCube  DataCube
The data cube.
selectTransformId  Guid
The select transform identifier.
elementsMap  IDictionaryString, String
The elements map. Provide map between source and target unique native names for elements in Select Transform.
Exceptions
ExceptionCondition
ArgumentNullExceptiondataCube is .
ArgumentExceptionselectTransformId value is Empty or elementsMap is or empty or elementsMap contains key or value that is or Empty.
NotFoundExceptionselectTransformId references a Transform which does not exist or element with native name taken from one of the keys in elementsMap is not found in the Select Transform.
InvalidOperationExceptionselectTransformId is not a SelectTransform or data type of the replacing column is not compatible with the data type of the replaced column.
See Also