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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public WriteConcern GetWriteConcern(
	bool enabledDefault
)

Parameters

enabledDefault
Type: SystemBoolean
The default enabled value.

Return Value

Type: WriteConcern
A WriteConcern.
See Also