Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.41 KB

File metadata and controls

44 lines (34 loc) · 1.41 KB
title getQueryTimeout Method (SQLServerStatement) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerStatement.getQueryTimeout
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 8dff954f-b458-4fa6-abe6-be62ff75e2b9
author David-Engel
ms.author v-daenge

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