ReadPreferenceMaxStaleness Property |
Gets the maximum staleness.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public Nullable<TimeSpan> MaxStaleness { get; }
Public ReadOnly Property MaxStaleness As Nullable(Of TimeSpan)
Get
member MaxStaleness : Nullable<TimeSpan> with get
Property Value
Type:
NullableTimeSpan
The maximum staleness.
See Also