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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
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