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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
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