Edit

Share via


SqlConnectionStringBuilder.ConnectRetryInterval Property

Definition

Amount of time (in seconds) between each reconnection attempt after identifying that there was an idle connection failure. This must be an integer between 1 and 60. The default is 10 seconds. An ArgumentException will be thrown if set to a value outside of the allowed range.

public:
 property int ConnectRetryInterval { int get(); void set(int value); };
public int ConnectRetryInterval { get; set; }
member this.ConnectRetryInterval : int with get, set
Public Property ConnectRetryInterval As Integer

Property Value

Amount of time (in seconds) between each reconnection attempt after identifying that there was an idle connection failure.

Applies to