getServerName()

Syntax:

String getServerName() throws SQLException

Description:

Returns the current server name that will be used for new connections.

Returns:

the current server name

Throws:

SQLException - if a database access error occurs