CreateCollectionOperationMaxDocuments Property |
Gets or sets the maximum number of documents in a capped collection.
Namespace:
MongoDB.Driver.Core.Operations
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public long? MaxDocuments { get; set; }
Public Property MaxDocuments As Long?
Get
Set
member MaxDocuments : Nullable<int64> with get, set
Property Value
Type:
NullableInt64
The maximum number of documents in a capped collection.
See Also