86
Chapter 7: The Database API
Arguments
connName
•
The
connName
argument is a connection name that is specified in the Connection 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");
might return
"amit"
.
MMDB.hasConnectionWithName()
Availability
Dreamweaver UltraDev 4.
Description
This function determines whether a connection of a given name exists.
Arguments
name
•
The
name
argument is the connection name.
Returns
Returns a Boolean value:
true
indicates that a connection with the specified name exists;
false
otherwise.
MMDB.needToPromptForRdsInfo()
Availability
Dreamweaver MX.
Description
This function determines whether Dreamweaver should open the RDS Login Information dialog
box.
Arguments
bForce
•
The
bForce
argument is a Boolean value;
true
indicates that the user who has
previously cancelled out of the RDS login dialog box still needs to be prompted for
RDS login information.
Returns
A Boolean value:
true
indicates that the user needs to be prompted for RDS login information;
false
otherwise.
000_DW_API_Print.book Page 86 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...