Sets the connection-specific connection timeout in a LOGINREC structure.
RETCODE DBSETLTIME (
PLOGINREC ploginrec,
DWORD seconds);
where
seconds | Description |
---|---|
TIMEOUT_IGNORE | Use the global connection timeout set using dbsetlogintime. |
TIMEOUT_INFINITE | No timeout. |
TIMEOUT_MAXIMUM | Maximum DB-Library connection timeout. |
SUCCEED or FAIL.
The seconds value overrides the global timeout value set using dbsetlogintime or the default login timeout.
dblogin, dbopen, DBSETLAPP, DBSETLHOST, dbsetlogintime, DBSETLUSER