Partager via


getQueryTimeout Method (SQLServerStatement)

Retrieves the number of seconds Microsoft SQL Server JDBC Driver will wait for this SQLServerStatement object to run.

public final int getQueryTimeout()

Valeur de retour

An int that indicates the number of seconds that the JDBC driver will wait, or 0 if there is no limit.

Exceptions

SQLServerException

Remarques

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

Voir aussi

Référence

SQLServerStatement Class

Concepts

SQLServerStatement Methods
SQLServerStatement Members