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



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : CommandTimeout Property
This sets the default command timeout.
Syntax
'Declaration
 
Public Property CommandTimeout As Integer
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim value As Integer
 
instance.CommandTimeout = value
 
value = instance.CommandTimeout
public int CommandTimeout {get; set;}
public:
property int CommandTimeout {
   int get();
   void set (    int value);
}
Remarks

The CommandTimeout property represents the amount of time in seconds that the Data Provider waits for a response from Teradata. If the request is not processed within the specified CommandTimeout the request is aborted and the transaction is rolled back. A zero value indicates that the Data Provider should wait indefinitely for the SQL statement to execute.

The CommandTimeout property will be used during Redrive and Recoverable Network Protocol (RNP) support to determine additional time required to support Redrive and RNP. For more details see TdCommand.CommandTimeout.

Default Value: 30 seconds

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