No, Dynamic connections can not retrieve the servername, database name and other details from a database.
Dynamic connections is used to make the connection to the database, it's not possible to get information from the database until the connection has been made.