Table of Contents

Method GetWriteConcern

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

GetWriteConcern(bool)

Returns a WriteConcern value based on this instance's settings and a default enabled value.

public WriteConcern GetWriteConcern(bool enabledDefault)

Parameters

enabledDefault bool

The default enabled value.

Returns

WriteConcern

A WriteConcern.