MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Spezifikationen Seite 319

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 692
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 318
The Database API 319
MMDB.getRuntimeConnectionType()
Availability
Dreamweaver UltraDev 1
Description
Returns the runtime connection type of the specified connection name. This function can return
one of the following values:
"ADO", "ADODSN", "JDBC", or "CFDSN".
Arguments
connName
connName 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 string that corresponds to the connection type.
Example
The following code returns the string "ADO" for an ADO connection:
var connectionType = MMDB.getRuntimeConnectionType ("EmpDB")
MMDB.getUserName()
Availability
Dreamweaver UltraDev 1
Description
Returns a user name for the specified connection.
Arguments
connName
connName 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".
Seitenansicht 318
1 2 ... 314 315 316 317 318 319 320 321 322 323 324 ... 691 692

Kommentare zu diesen Handbüchern

Keine Kommentare