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
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho