MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 73

Dreamweaver api reference
Table of Contents

Advertisement

MMDB.getConnectionList()
Availability
Dreamweaver UltraDev 1.
Description
This function gets a list of all the connection strings that are defined in the Connection
Manager.
Arguments
None.
Returns
An array of strings where each string is the name of a connection as it appears in the
Connection Manager.
Example
A call to
MMDB.getConnectionList()
.
TestEmp"]
MMDB.getConnectionName()
Availability
Dreamweaver UltraDev 1.
Description
This function gets the connection name that corresponds to the specified connection string.
This function is useful when you need to reselect a connection name in the user interface (UI)
from data on the page.
If you have a connection string that references two drivers, you can specify the connection
string and the driver that corresponds to the connection name that you want to return. For
example, you can have two connections.
Connection 1 has the following properties:
ConnectionString="jdbc:inetdae:velcro-qa-5:1433?database=pubs"
DriverName="com.inet.tds.TdsDriver"
Connection 2 has the following properties:
ConnectionString="jdbc:inetdae:velcro-qa-5:1433?database=pubs"
DriverName="com.inet.tds.TdsDriver2"
can return the strings
Database connection functions
["EmpDB", "Test",
73

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?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents