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)
Parámetros
loginTimeout
An int value that represents the number seconds to wait. Zero means that there is no time out.
Notas
This setLoginTimeout method is specified by the setLoginTimeout method in the javax.sql.DataSource interface.