SessionStateSection.SqlConnectionRetryInterval Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The time interval that should elapse before ASP.NET reconnects to the database.
- Attributes
The SqlConnectionRetryInterval specifies the time interval in seconds before reconnecting to the database when a connection error has occurred.
Производ | Верзије |
---|---|
.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 |
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: