Table of Contents

Method WithReadConcern

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

WithReadConcern(ReadConcern)

Returns a new MongoServer instance with a different read concern setting.

public virtual MongoServer WithReadConcern(ReadConcern readConcern)

Parameters

readConcern ReadConcern

The read concern.

Returns

MongoServer

A new MongoServer instance with a different read concern setting.