Method FromBsonDocument
FromBsonDocument(BsonDocument)
Creates a write concern from a document.
public static WriteConcern FromBsonDocument(BsonDocument document)
Parameters
document
BsonDocumentThe document.
Returns
- WriteConcern
A write concern.