Today I received the question if it is possible to script the actions of the DCA when changing the MCMS database. This can be extremly useful in developer environments where users develop against different databases.
Actually the DCA cannot be scripted but it is possible to backup and restore the configuration settings the DCA does in the registry. To ensure that no side effects show up (especially with MCMS node cache coming out of sync) it is require to restart all MCMS services while changing the database configuration settings.
The following steps will do the job:
To switch to another database you now need to do the following:
Isn't this going against your premise of not using undocumented API's(Interfaces)? Isn't the windows registry hack an undocumented API?
no it is not the same. This hack does not access the database.