dbGetPort#

Purpose#

Returns the database connection’s port number if it has been set.

Format#

db_port = dbGetPort(db_id)#
Parameters:

db_id (scalar) – database connection index number.

Returns:

db_port (scalar) – the port number of the specified database connection.

Remarks#

dbGetPort() will only return the port number if it was previously set with dbSetPort().