IDataConnectorServiceChangeDataProvider Method

Changes the data provider for existing data connector.

Namespace:  Dundas.BI.Entities.DataConnectors
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
DataConnector ChangeDataProvider(
	Guid dataConnectorId,
	Guid providerId
)

Parameters

dataConnectorId
Type: SystemGuid
The data connector ID.
providerId
Type: SystemGuid
The new data provider ID.

Return Value

Type: DataConnector
The updated data connector. It is not yet saved.
Exceptions
ExceptionCondition
ArgumentExceptiondataConnectorId or providerId is Empty.
InvalidProviderExceptionThe data provider with specified ID cannot be loaded or incompatible.
Remarks
The use case is, for example, to allow migrating from ODBC/JDBC to native data provider.
See Also