Send feedback on this topic.
Teradata.Client.Provider
ConnectionTimeout Property (TdConnectionStringBuilder)



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : ConnectionTimeout Property
Specifies the time to wait for a Teradata session to be opened or established.
Syntax
'Declaration
 
Public Property ConnectionTimeout As Integer
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim value As Integer
 
instance.ConnectionTimeout = value
 
value = instance.ConnectionTimeout
public int ConnectionTimeout {get; set;}
public:
property int ConnectionTimeout {
   int get();
   void set (    int value);
}
Remarks

This represents the time to wait for establishment of a connection before terminating the attempt and generating an error. Connection timeout is typically used for an application waiting for a connection from a connection pool, when the maximum number of connections have been established.

ConnectionTimeout is specified in seconds and may range from 0 to the maximum supported timeout value of 2147483. Connection timeout specified as 0, is a special case, and internally the provider will set the value to the maximum value.

Default Value: 20 seconds

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members