The connection strings are stored in web.config and a database table.
Configuration file
InstallDirectory\Web Services\Services\Web.config Connection string used to access database by the Services web application. This web application is contacted by the other web apps (Version Control, Team Build, ....) when those applications obtain their individual connection strings.
Database
The TFSIntegration database table tbl_Database contains the raw elements of the connection string for the other web apps. The name column indicates which application; connection contains the template for the application and the dbname and dbserver values are added to the template. The constructed connection string is then used by the web appplication.
Except for Services, the Team Foundation web applications access the connection strings through the application's registration data (there's a section with database information in the registration data). |