Database Access Functions - Adobe 38040334 - Dreamweaver CS3 User Manual

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

Advertisement

Returns
An object that contains the new values in the
indicates that the user cancelled the dialog box.
MMDB.testConnection()
Availability
Dreamweaver UltraDev 4.
Description
This function tests connection settings. It displays a modal dialog box that describes the results.
Arguments
serverPropertiesArray
This function expects a single argument, an array object that contains values from the following list, which are appro-
priate for the current server model. For properties that do not apply to the connection being tested, set them to empty
(
).
""
• The
argument indicates, when
type
design time to test connection settings.
• The
argument is the ADO connection string or JDBC URL.
string
• The
argument is the data source name.
dsn
• The
argument is the JDBC driver.
driver
• The
argument is the user name.
username
• The
argument is the password.
password
• The
argument is a Boolean value. A value of
useHTTP
connection at design time; otherwise, Dreamweaver uses a DLL.
Returns
A Boolean value:
if the connection test is successful;
true

Database access functions

Database access functions let you query a database. For the collection of functions that manage a database
connection, see "Database connection functions" on page 47.
The following list describes some of the arguments that are common to the functions that are available:
• Most database access functions use a connection name as an argument. You can see a list of valid connection
names in the Connection Manager, or you can use the
the connection names programmatically.
and
catalog
schema
is a
value, which DLL to use for connecting to a database at
useHTTP
false
specifies that Dreamweaver should use an HTTP
true
false
MMDB.getConnectionList()
properties. If either property is not defined, it
otherwise.
function to get a list of all
DREAMWEAVER CS3
59
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents