Returns
An object that contains the new values in the
property is not defined, it indicates that the user cancelled the dialog box.
MMDB.showRestrictDialog()
Availability
Dreamweaver UltraDev 4.
Description
This function displays the Restrict dialog box.
Arguments
catalog, schema
•
The
catalog
•
The
argument is the initial schema value.
schema
Returns
An object that contains the new values in the
not defined, it 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 appropriate 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
connecting to a database at 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
username
•
The
password
•
The
useHTTP
use an HTTP connection at design time; otherwise, Dreamweaver uses a DLL.
Returns
A Boolean value:
90
Chapter 7: The Database API
argument is the initial catalog value.
argument is the user name.
argument is the password.
argument is a Boolean value. A value of
if the connection test is successful;
true
and
username
password
and
catalog
schema
).
""
is a
value, which DLL to use for
useHTTP
false
true
false
properties. If either
properties. If either property is
specifies that Dreamweaver should
otherwise.
Need help?
Do you have a question about the DREAMWEAVER MX 2004-DREAMWEAVER API and is the answer not in the manual?