SqlGetTime%

Returns the number of seconds that DB-Library for Visual Basic waits for a SQL Server response to a Transact-SQL statement.

Syntax

SqlGetTime% ( sqlconn% )

where

sqlconn%
Is a SQL Server connection. The value of sqlconn% is returned by SqlOpen%.

Returns

The number of seconds that DB-Library for Visual Basic waits for a SQL Server response to a Transact-SQL statement. A value of 0 (the default) represents an infinite timeout period.

Remarks

SqlGetTime% returns the number of seconds that DB-Library for Visual Basic waits for a SQL Server response to calls to SqlExec%, SqlOk%, SqlResults%, and SqlNextRow%. You can change the timeout value by calling SqlSetTime%.

See Also

SqlSetTime%, SqlExec%, SqlOk%, SqlResults%, SqlNextRow%