SessionStateSection.SqlConnectionRetryInterval Property

Definition

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

C#
[System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanSecondsOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("sqlConnectionRetryInterval", DefaultValue="00:00:00")]
public TimeSpan SqlConnectionRetryInterval { get; set; }

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

Производ Верзије
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1