IDataCubeServiceReplaceDataConnector Method

Replaces the data connector in a given Manual Select Transform or stored procedure 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.3.0.1000)
Syntax
void ReplaceDataConnector(
	DataCube dataCube,
	Guid selectTransformId,
	DataConnector newDataConnector,
	Guid? nativeStructureToReplaceWithId
)

Parameters

dataCube
Type: Dundas.BI.Entities.DataCubesDataCube
The data cube.
selectTransformId
Type: SystemGuid
The manual select or stored procedure select transform identifier.
newDataConnector
Type: Dundas.BI.Entities.DataConnectorsDataConnector
The new data connector.
nativeStructureToReplaceWithId
Type: SystemNullableGuid
The id of the native structure to replace with. Currently only applicable for stored procedures.
Exceptions
ExceptionCondition
ArgumentNullExceptiondataCube is or newDataConnector is .
ArgumentExceptionselectTransformId value is Empty
NotFoundExceptionselectTransformId 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
InvalidOperationExceptionselectTransformId is not a SelectTransform or selectTransformIdis not a Manual Select transform or newDataConnector does not support manual queries
See Also