getQueryTimeout Method (SQLServerStatement)

 

DownloadDownload JDBC Driver

Retrieves the number of seconds Microsoft JDBC Driver for SQL Server 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.

SQLServerException

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

SQLServerStatement Members
SQLServerStatement Class

Community Additions

ADD
Show: