Hi Zaid,
We could not change the connection string for two different data sources type's, we have already documented it in the below documentation, we can only change the connection string for the same data source type from different server.
Please let us know if you have any concern on this.
Regards,
Sathish. K