Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.27 KB

File metadata and controls

39 lines (29 loc) · 1.27 KB
title getLoginTimeout Method (SQLServerDataSource)
description getLoginTimeout Method (SQLServerDataSource)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDataSource.getLoginTimeout
apitype Assembly

getLoginTimeout Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
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

SQLServerDataSource Members
SQLServerDataSource Class