Click or drag to resize

IMayUseSecondaryCriteria Interface

Represents the criteria for using a secondary for operations that may use a secondary.

Namespace:  MongoDB.Driver.Core.Bindings
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public interface IMayUseSecondaryCriteria

The IMayUseSecondaryCriteria type exposes the following members.

Properties
  NameDescription
Public propertyEffectiveReadPreference
The effective read preference (initially the same as ReadPreference but possibly altered by the server selector).
Public propertyReadPreference
The read preference.
Top
Methods
  NameDescription
Public methodCanUseSecondary
Whether a particular secondary can be used.
Top
See Also