setLoginTimeout Method (SQLServerDataSource)
Sets the number of seconds that this SQLServerDataSource object will wait while trying to make a connection.
Syntax
public void setLoginTimeout(int loginTimeout)
Parameters
loginTimeout
An int value that represents the number of seconds to wait. Zero means that the timeout is the default system timeout, which is specified as 15 seconds by default.
Remarks
This setLoginTimeout method is specified by the setLoginTimeout method in the javax.sql.DataSource 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