Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.29 KB

File metadata and controls

39 lines (29 loc) · 1.29 KB
title getQueryTimeout Method (SQLServerStatement)
description getQueryTimeout Method (SQLServerStatement)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerStatement.getQueryTimeout
apitype 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