MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 79

Dreamweaver api reference
Table of Contents

Advertisement

Arguments
connName
The
argument is a connection name that is specified in the Connection
connName
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. This function can return one of the
following values:
"ADO"
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
connName
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");
,
,
, or
"ADODSN"
"JDBC"
"ADO"
.
"CFDSN"
for an ADO connection:
might return
"amit"
Database connection functions
.
79

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents