MongoDefaultsMaxConnectionLifeTime Property |
Gets or sets the max connection life time.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public static TimeSpan MaxConnectionLifeTime { get; set; }
Public Shared Property MaxConnectionLifeTime As TimeSpan
Get
Set
static member MaxConnectionLifeTime : TimeSpan with get, set
Property Value
Type:
TimeSpanSee Also