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 (26.2.0.1000)
Syntax
void ReplaceDataConnector(
	DataCube dataCube,
	Guid selectTransformId,
	DataConnector newDataConnector,
	Guid? nativeStructureToReplaceWithId
)

Parameters

dataCube  DataCube
The data cube.
selectTransformId  Guid
The manual select or stored procedure select transform identifier.
newDataConnector  DataConnector
The new data connector.
nativeStructureToReplaceWithId  NullableGuid
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