Excellent post from Martin Winzig (thanks Chris Boyd for blogging it) : http://projectserver.cz/cms/index.php?itemid=35
Basically this code sample will retrieve the Shared Service Provider’s name (using reflection) as well as each of the four Project Server database connection strings.
It thus eliminates storing extra information in configuration files and makes customization easier to deploy and maintain.
Code sample here with ProjectInfo object.
A week ago I pointed to a sample piece of code to retrieve Project Server Settings , today I came across