Method SetMaxDocuments
SetMaxDocuments(long)
Sets the max number of documents in a capped collection.
public CollectionOptionsBuilder SetMaxDocuments(long value)
Parameters
value
longThe max number of documents.
Returns
- CollectionOptionsBuilder
The builder (so method calls can be chained).