Method ToBsonDocument
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
ToBsonDocument()
Converts this write concern to a BsonDocument suitable to be sent to the server.
public BsonDocument ToBsonDocument()
Returns
A BsonDocument.