DB Library for C
dbsetlogintime
Sets the number of seconds that DB-Library waits for Microsoft® SQL Server™ 2000 to respond to a request for a DBPROCESS connection (after calling dbopen).
Syntax
RETCODE dbsetlogintime ( INT seconds );
Arguments
seconds
Is the time-out value, or the number of seconds that DB-Library waits for a login response before timing out. A time-out value of 0 represents an infinite time-out period. The default time-out value is 60 seconds.
Returns
SUCCEED or FAIL.