Open this page in the API Guide

IDataCubeService.ReplaceDataConnector Method

Replaces the data connector in a given Manual Select Transform with a new data connector.

Namespace:  Dundas.BI.Entities.DataCubes
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
void ReplaceDataConnector(
	DataCube dataCube,
	Guid manualSelectTransformId,
	DataConnector newDataConnector
)

Parameters

dataCube
Type: Dundas.BI.Entities.DataCubes.DataCube
The data cube.
manualSelectTransformId
Type: System.Guid
The manual select transform identifier.
newDataConnector
Type: Dundas.BI.Entities.DataConnectors.DataConnector
The new data connector.
Exceptions
ExceptionCondition
ArgumentNullExceptiondataCube is null or newDataConnector is null.
ArgumentExceptionmanualSelectTransformId value is Empty
NotFoundExceptionmanualSelectTransformId references a Transform which does not exist or newDataConnector does not produce one or more output elements from the query that the previous data connector did
InvalidOperationExceptionmanualSelectTransformId is not a SelectTransform or manualSelectTransformIdis not a Manual Select transform or newDataConnector does not support manual queries
See Also