Method SetMaxSize
SetMaxSize(long)
Sets the max size of a capped collection.
public static CollectionOptionsBuilder SetMaxSize(long value)
Parameters
value
longThe max size.
Returns
- CollectionOptionsBuilder
The builder (so method calls can be chained).