IDataCubeServiceReplaceDataConnector 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 (24.3.0.1000)
Syntax
void ReplaceDataConnector(
	DataCube dataCube,
	Guid manualSelectTransformId,
	DataConnector newDataConnector
)

Parameters

dataCube
Type: Dundas.BI.Entities.DataCubesDataCube
The data cube.
manualSelectTransformId
Type: SystemGuid
The manual select transform identifier.
newDataConnector
Type: Dundas.BI.Entities.DataConnectorsDataConnector
The new data connector.
Exceptions
ExceptionCondition
ArgumentNullExceptiondataCube is or newDataConnector is .
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