Method WithWriteConcern
WithWriteConcern(WriteConcern)
Returns a new IMongoClient instance with a different write concern setting.
IMongoClient WithWriteConcern(WriteConcern writeConcern)
Parameters
writeConcern
WriteConcernThe write concern.
Returns
- IMongoClient
A new IMongoClient instance with a different write concern setting.