SqlConnectionStringBuilder::ConnectRetryInterval Property

.NET Framework (current version)
 

[Supported in the .NET Framework 4.5.1 and later versions]

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.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public:
property int ConnectRetryInterval {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

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

.NET Framework
Available since 4.5.1
Return to top
Show: