Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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.