setQueryTimeout Method (SQLServerStatement)
Sets the number of seconds the driver will wait for a SQLServerStatement object to run to the given number of seconds.
Syntax
public final void setQueryTimeout(int seconds)
Parameters
seconds
An int that indicates the number of seconds to wait, or 0 if there is no limit.
Exceptions
Remarks
This setQueryTimeout method is specified by the setQueryTimeout method in the java.sql.Statement interface.
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for