ConnectionStringReadPreference Property |
Gets the read preference.
Namespace:
MongoDB.Driver.Core.Configuration
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public ReadPreferenceMode? ReadPreference { get; }
Public ReadOnly Property ReadPreference As ReadPreferenceMode?
Get
member ReadPreference : Nullable<ReadPreferenceMode> with get
Property Value
Type:
NullableReadPreferenceModeSee Also