Table of Contents

Method ToBsonDocument

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

ToBsonDocument()

Converts this write concern to a BsonDocument suitable to be sent to the server.

public BsonDocument ToBsonDocument()

Returns

BsonDocument

A BsonDocument.