MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Especificações Página 319

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 692
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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".
Vista de página 318
1 2 ... 314 315 316 317 318 319 320 321 322 323 324 ... 691 692

Comentários a estes Manuais

Sem comentários