Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.29 KB

setlogintimeout-method-sqlserverdatasource.md

File metadata and controls

38 lines (28 loc) · 1.29 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
setLoginTimeout Method (SQLServerDataSource)
setLoginTimeout Method (SQLServerDataSource)
David-Engel
v-davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerDataSource.setLoginTimeout
Assembly

setLoginTimeout Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
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.

Remarks

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

See Also

SQLServerDataSource Members
SQLServerDataSource Class