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