SessionStateSection::SqlConnectionRetryInterval Property

.NET Framework (current version)
 

Gets or sets the time interval that should elapse before ASP.NET reconnects to the database.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public:
[ConfigurationPropertyAttribute("sqlConnectionRetryInterval", 
	DefaultValue = "00:00:00")]
[TypeConverterAttribute((TimeSpanSecondsOrInfiniteConverter^::typeid))]
property TimeSpan SqlConnectionRetryInterval {
	TimeSpan get();
	void set(TimeSpan value);
}

Property Value

Type: System::TimeSpan

The time interval that should elapse before ASP.NET reconnects to the database.

The SqlConnectionRetryInterval specifies the time interval in seconds before reconnecting to the database when a connection error has occurred.

.NET Framework
Available since 4.0
Return to top
Show: