UpdateConfigDatabaseConnection Method
The UpdateConfigDatabaseConnection method of the SPGlobalAdmin class updates the connection to the configuration database.
Parameters
strDatabaseServer A string that specifies the database server.
strDatabaseName A string that contains the name of the new database.
strUserName A string that contains the user name for the administrator account. The strUserName parameter is required only if SQL authentication is used.
strPassword A string that contains the password for the administrator account. The strPassword parameter is required only if SQL authentication is used.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security