setLoginTimeout Method (SQLServerDataSource)
Sets the number of seconds that this SQLServerDataSource object will wait while trying to make a connection.
public void setLoginTimeout(int loginTimeout)
参数
loginTimeout
An int value that represents the number seconds to wait. Zero means that there is no time out.
备注
This setLoginTimeout method is specified by the setLoginTimeout method in the javax.sql.DataSource interface.