title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | apilocation | apiname | apitype |
---|---|---|---|---|---|---|---|---|---|---|
getQueryTimeout Method (SQLServerStatement) |
getQueryTimeout Method (SQLServerStatement) |
David-Engel |
davidengel |
01/19/2017 |
sql |
connectivity |
reference |
sqljdbc.jar |
SQLServerStatement.getQueryTimeout |
Assembly |
[!INCLUDEDriver_JDBC_Download]
Retrieves the number of seconds [!INCLUDEjdbcNoVersion] will wait for this SQLServerStatement object to run.
public final int getQueryTimeout()
An int that indicates the number of seconds that the JDBC driver will wait, or 0 if there is no limit.
This getQueryTimeout method is specified by the getQueryTimeout method in the java.sql.Statement interface.