Table of Contents

Class CollectionStatsResult

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Represents the results of the collection stats command.

[Serializable]
[BsonSerializer(typeof(CommandResultSerializer<CollectionStatsResult>))]
public class CollectionStatsResult : CommandResult
Inheritance
CollectionStatsResult
Inherited Members
Extension Methods

Constructors

CollectionStatsResult(BsonDocument)

Initializes a new instance of the CollectionStatsResult class.

Properties

AverageObjectSize

Gets the average object size.

DataSize

Gets the data size.

ExtentCount

Gets the extent count.

IndexCount

Gets the index count.

IndexSizes

Gets the index sizes.

IsCapped

Gets a value indicating whether the collection is capped.

LastExtentSize

Gets the last extent size.

MaxDocuments

Gets the index count.

Namespace

Gets the namespace.

ObjectCount

Gets the object count.

PaddingFactor

Gets the padding factor.

StorageSize

Gets the storage size.

SystemFlags

Gets the system flags.

TotalIndexSize

Gets the total index size.

UserFlags

Gets the user flags.