Method ToBsonDocument NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll ToBsonDocument() The BSON representation of the time series options. public BsonDocument ToBsonDocument() Returns BsonDocument A BsonDocument.