getLoginTimeout Method (SQLServerDataSource)

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

public int getLoginTimeout()

Return Value

An int value that represents the number of seconds to wait.

Remarks

If the application does not specify a timeout value explicitly, this method returns a default value of 15 seconds.

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

See Also

Reference

SQLServerDataSource Class

Concepts

SQLServerDataSource Methods
SQLServerDataSource Members