Table of Contents

Method WithWriteConcern

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

WithWriteConcern(WriteConcern)

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

public virtual MongoServer WithWriteConcern(WriteConcern writeConcern)

Parameters

writeConcern WriteConcern

The write concern.

Returns

MongoServer

A new MongoServer instance with a different write concern setting.