다음을 통해 공유


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.

예외

SQLServerException

주의

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

참고 항목

참조

SQLServerStatement Class

개념

SQLServerStatement Methods
SQLServerStatement Members