setLoginTimeout Method (SQLServerDataSource)
TOC
Collapse the table of content
Expand the table of content

setLoginTimeout Method (SQLServerDataSource)

 

DownloadDownload JDBC Driver

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

  
public void setLoginTimeout(int loginTimeout)  

Parameters

loginTimeout

An int value that represents the number of seconds to wait. Zero means that the timeout is the default system timeout, which is specified as 15 seconds by default.

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

SQLServerDataSource Members
SQLServerDataSource Class

Community Additions

ADD
Show:
© 2016 Microsoft