Connecting (login) with a specified server/database

We have a test quantify and an operational database. If we now login (from code) to quantify it always connect with the last server/database the quantify application was logged in. Can we somehow specify on login with what server/datbase we want to connect ?

The connection settings for Quantify are stored in an xml file - C:\ProgramData\Avontus\Quantify\Settings\QuantifySettings.xml

This may be edited using the CommonConfigurationSettings object -

CommonConfigurationSettings.IsUsingDataPortal = [True/False]
CommonConfigurationSettings.SqlServerName = [Server]
CommonConfigurationSettings.DataPortalName= [Uri]