Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.29 KB

getquerytimeout-method-sqlserverstatement.md

File metadata and controls

39 lines (29 loc) · 1.29 KB
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

getQueryTimeout Method (SQLServerStatement)

[!INCLUDEDriver_JDBC_Download]

Retrieves the number of seconds [!INCLUDEjdbcNoVersion] will wait for this SQLServerStatement object to run.

Syntax

  
public final int getQueryTimeout()  

Return Value

An int 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

SQLServerStatement Members
SQLServerStatement Class