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.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
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