共用方式為


getLoginTimeout Method (SQLServerDataSource)

Returns the number of seconds that this SQLServerDataSource object will wait while trying to make a connection.

public int getLoginTimeout()

傳回值

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

備註

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

另請參閱

參考

SQLServerDataSource Class

概念

SQLServerDataSource Methods
SQLServerDataSource Members