Click or drag to resize

MongoUrlBuilderGetWriteConcern Method

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

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
public WriteConcern GetWriteConcern(
	bool enabledDefault
)

Parameters

enabledDefault
Type: SystemBoolean
The default enabled value.

Return Value

Type: WriteConcern
A WriteConcern.
See Also