Database connection functions
79
MMDB.getColdFusionDsnList()
Availability
Dreamweaver UltraDev 4.
Description
This function gets the ColdFusion data source names (DSNs) from the site server, using the
getRDSUserName()
and
getRDSPassword()
functions.
Arguments
None.
Returns
An array that contains the ColdFusion DSNs that are defined on the server for the current site.
MMDB.getConnection()
Availability
Dreamweaver UltraDev 4, enhanced in Dreamweaver MX.
Description
This function gets a named connection object.
Arguments
name
•
The
name
argument is a string variable that specifies the name of the connection that you want
to reference.
Returns
A reference to a named connection object. Connection objects contain the following properties:
Property
Description
name
Connection name
type
Indicates, if
useHTTP
is a value of
false
, which DLL to use for connecting to a
database at runtime
string
Runtime ADO connection string or JDBC URL
dsn
ColdFusion DSN
driver
Runtime JDBC driver
username
Runtime user name
password
Runtime password
useHTTP
String that contains either a
true
or
false
value , specifying whether to use a
remote driver (HTTP connection) at design time; otherwise, use a local driver
(DLL)
000_DW_API_Print.book Page 79 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...