Share 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()

Rückgabewert

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

Ausnahmen

SQLServerException

Hinweise

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

Siehe auch

Referenz

SQLServerStatement Class

Konzepte

SQLServerStatement Methods
SQLServerStatement Members