Specifications
The Database API 319
MMDB.getRuntimeConnectionType()
Availability
Dreamweaver UltraDev 1
Description
Returns the runtime connection type of the specified connection name. This function can return
one of the following values:
"ADO", "ADODSN", "JDBC", or "CFDSN".
Arguments
connName
connName is a connection name that is specified in the Connection Manager. It identifies the
connection string that Dreamweaver should use to make a database connection to a live data
source.
Returns
A string that corresponds to the connection type.
Example
The following code returns the string "ADO" for an ADO connection:
var connectionType = MMDB.getRuntimeConnectionType ("EmpDB")
MMDB.getUserName()
Availability
Dreamweaver UltraDev 1
Description
Returns a user name for the specified connection.
Arguments
connName
connName is a connection name that is specified in the Connection Manager. It identifies the
connection string that Dreamweaver should use to make a database connection to a live data
source.
Returns
A user name string that is associated with the connection name.
Example
The statement MMDB.getUserName ("EmpDB"); might return "amit".