Freigeben über


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)

Parameter

loginTimeout

An int value that represents the number seconds to wait. Zero means that there is no time out.

Hinweise

This setLoginTimeout method is specified by the setLoginTimeout method in the javax.sql.DataSource interface.

Siehe auch

Verweis

SQLServerDataSource Class

Konzepte

SQLServerDataSource Methods
SQLServerDataSource Members