Enum ReadPreferenceMode
Represents the read preference mode.
public enum ReadPreferenceModeFields
- Primary = 0
- Reads should be from the primary. 
- PrimaryPreferred = 1
- Reads should be from the primary if possible, otherwise from a secondary. 
- Secondary = 2
- Reads should be from a secondary. 
- SecondaryPreferred = 3
- Reads should be from a secondary if possible, otherwise from the primary. 
- Nearest = 4
- Reads should be from any server that is within the latency threshold window.