MMDB.getConnection()

Availability

Dreamweaver UltraDev 4, enhanced in Dreamweaver MX.

Description

This function gets a named connection object.

Arguments

name 

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)

includePattern

Regular expression used to find the file include statement on the page during Live Data and Preview In Browser

variables

Array of page variable names and their corresponding values used during Live Data and Preview In Browser

catalog

Used to restrict the metadata that appears (for more information, see MMDB.getProcedures())

schema

Used to restrict the metadata that appears (for more information, see MMDB.getProcedures())

filename

Filename of dialog box that was used to create the connection


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/07_mmdb6.htm