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