dbsetlogintime

Sets the number of seconds that DB-Library waits for Microsoft® SQL Server™ 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.

See Also
dberrhandle dbsettime
dbopen  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.