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



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : RecoveryCommandTimeoutOverride Property
Enables a TdConnectionStringBuilder.RecoveryTimeout value to be supplied during reconnection for commands that contain a finite CommandTimeout.
Syntax
'Declaration
 
Public Property RecoveryCommandTimeoutOverride As Boolean
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim value As Boolean
 
instance.RecoveryCommandTimeoutOverride = value
 
value = instance.RecoveryCommandTimeoutOverride
public bool RecoveryCommandTimeoutOverride {get; set;}
public:
property bool RecoveryCommandTimeoutOverride {
   bool get();
   void set (    bool value);
}
Remarks

All synchronous commands that contain a zero (infinite) TdCommand.CommandTimeout will always extend the reconnection time by the RecoveryTimeout. If the CommandTimeout is non-zero, this new override property (when true) will set the reconnection timeout to the RecoveryTimeout value.

Default Value: true

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