Adobe 38040334 - Dreamweaver CS3 User Manual page 59

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

• The
argument, which is optional, is a string that contains a list of
urlParams
separated by ampersand (&) characters. You must not enclose values with quotes. Some characters, such as the
space in the value
Hello World
you can pass to
MMDB.getRemoteDsnList()
Returns
Returns an array that contains the ODBC DSNs that are defined on the server for the current site.
MMDB.getRuntimeConnectionType()
Availability
Dreamweaver UltraDev 1.
Description
This function returns the runtime connection type of the specified connection name.
Arguments
connName
• The
argument is a connection name that is specified in the Connection Manager. It identifies the
connName
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. This function can return one of the following values:
,
, or
"ADODSN"
"JDBC"
"CFDSN"
Example
The following code returns the string
var connectionType = MMDB.getRuntimeConnectionType ("EmpDB")
MMDB.getUserName()
Availability
Dreamweaver UltraDev 1.
Description
This function returns a user name for the specified connection.
Arguments
connName
• The
argument is a connection name that is specified in the Connection Manager. It identifies the
connName
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");
, need to be encoded. The following example shows a valid sample argument that
: a=1&b=Hello%20World
.
for an ADO connection:
"ADO"
might return
name=value
.
"amit"
DREAMWEAVER CS3
API Reference
expressions, which are
,
"ADO"
54

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents