SessionStateSection.SqlConnectionRetryInterval Property

Definition

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

public:
 property TimeSpan SqlConnectionRetryInterval { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanSecondsOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("sqlConnectionRetryInterval", DefaultValue="00:00:00")]
public TimeSpan SqlConnectionRetryInterval { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanSecondsOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("sqlConnectionRetryInterval", DefaultValue="00:00:00")>]
member this.SqlConnectionRetryInterval : TimeSpan with get, set
Public Property SqlConnectionRetryInterval As TimeSpan

Property Value

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

Attributes

Remarks

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

Applies to