Retrieves the number of seconds Microsoft SQL Server 2005 JDBC Driver will wait for this SQLServerStatement object to run.

public final int getQueryTimeout()

Return Value

An integer that indicates the number of seconds that the JDBC driver will wait, or 0 if there is no limit.

Exceptions

SQLServerException

Remarks

This getQueryTimeout method is specified by the getQueryTimeout method in the java.sql.Statement interface.

See Also