dbsetlogintime

Sets the number of seconds that DB-Library waits for SQL Server to respond to a request for a DBPROCESS connection (after calling dbopen).

Syntax

RETCODE dbsetlogintime ( INT seconds );

where

seconds
Is the timeout value ¾ the number of seconds that DB-Library waits for a login response before timing out. A timeout value of 0 represents an infinite timeout period. The default timeout value is 60 seconds.

Returns

SUCCEED or FAIL.

See Also

dberrhandle, dbopen, dbsettime