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
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members