Call the GetRemoteDatabase method to retrieve information about an existing database from a database server. Use the DatabaseName parameter to specify the existing database name.
This method is only valid for encrypted remote sessions connected as an administrator to the administration port on a database server.