If you just need to change the connection string of the connection and the type of the connection should stay the same, you could use next code:
JavaScript
report.dictionary.databases.getByName("Connection").connectionString = yourConnectionString;
0 Comments