Send feedback on this topic.
Teradata.Client.Provider
ConnectMaxRetryCount Property



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : ConnectMaxRetryCount Property
This represents the maximum number of attempts of a retryable error during TdConnection.Open before an error is returned to the application.
Syntax
'Declaration
 
Public Property ConnectMaxRetryCount As Integer
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim value As Integer
 
instance.ConnectMaxRetryCount = value
 
value = instance.ConnectMaxRetryCount
public int ConnectMaxRetryCount {get; set;}
public:
property int ConnectMaxRetryCount {
   int get();
   void set (    int value);
}
Remarks

The ConnectMaxRetryCount will set the maximum number of retries for a connection attempt. Once this limit is reached, the connection will fail. For example if the value is set to 200, the Data Provider will retry 200 times before failing the connection attempt and the TdConnectionStringBuilder.ConnectionTimeout has not expired.

Default Value: 200

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members