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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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