Export (0) Print
Expand All
Expand Minimize

setQueryTimeout Method (SQLServerStatement)

Sets the number of seconds the driver will wait for a SQLServerStatement object to run to the given number of seconds.


public final void setQueryTimeout(int seconds)

seconds

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

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft