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