Adobe 38040334 API Reference - Page 53
MMDB.getColdFusionDsnList, MMDB.getConnection
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 53 highlights
DREAMWEAVER CS3 48 API Reference Returns Nothing. Example The following example deletes a database connection: function clickedDelete() { var selectedObj = dw.serverComponents.getSelectedNode(); if (selectedObj && selectedObj.objectType=="Connection") { var connRec = MMDB.getConnection(selectedObj.name); if (connRec) { MMDB.deleteConnection(selectedObj.name); dw.serverComponents.refresh(); } } } MMDB.getColdFusionDsnList() Availability Dreamweaver UltraDev 4. Description This function gets the ColdFusion data source names (DSNs) from the site server, using the getRDSUserName() and getRDSPassword() functions. Arguments None. Returns An array that contains the ColdFusion DSNs that are defined on the server for the current site. MMDB.getConnection() Availability Dreamweaver UltraDev 4, enhanced in Dreamweaver MX. Description This function gets a named connection object. Arguments name • The name argument is a string variable that specifies the name of the connection that you want to reference. Returns A reference to a named connection object. Connection objects contain the following properties:
![](/manual_guide/products/adobe-38040334-api-reference-b593776/53.png)