MATLAB DATABASE TOOLBOX RELEASE NOTES Guide de l'utilisateur Page 608

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 684
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 607
7 Functions — Alphabetical List
7-178
logintimeout
Set or get time allowed to establish database connection
Syntax
timeout = logintimeout('driver', time)
timeout = logintimeout(time)
timeout = logintimeout('driver')
timeout = logintimeout
Description
timeout = logintimeout('driver', time) sets the amount of time, in seconds,
for a MATLAB session to connect to a database via a given JDBC driver. Use
logintimeout before running the database function. If the MATLAB session cannot
connect to the database within the specified time, it stops trying.
timeout = logintimeout(time) sets the amount of time, in seconds, allowed
for a MATLAB session to try to connect to a database via an ODBC connection. Use
logintimeout before running the database function. If the MATLAB session cannot
connect within the allowed time, it stops trying.
timeout = logintimeout('driver') returns the time, in seconds, that was
previously specified for the JDBC driver. A returned value of 0 means that the timeout
value was not previously set. The MATLAB session stops trying to connect to the
database if it is not immediately successful.
timeout = logintimeout returns the time, in seconds, that you previously specified
for an ODBC connection. A returned value of 0 means that the timeout value was not
previously set; the MATLAB software session stops trying to make a connection if it is
not immediately successful.
Note: If you do not specify a value for logintimeout and the MATLAB session cannot
establish a database connection, your MATLAB session may freeze.
Vue de la page 607
1 2 ... 603 604 605 606 607 608 609 610 611 612 613 ... 683 684

Commentaires sur ces manuels

Pas de commentaire