Table of Contents

Class DatabaseStatsResult

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

Represents the result of the database stats command.

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

Constructors

DatabaseStatsResult(BsonDocument)

Initializes a new instance of the DatabaseStatsResult class.

Properties

AverageObjectSize

Gets the average object size.

CollectionCount

Gets the collection count.

DataSize

Gets the data size.

ExtentCount

Gets the extent count.

FileSize

Gets the file size.

IndexCount

Gets the index count.

IndexSize

Gets the index size.

ObjectCount

Gets the object count.

StorageSize

Gets the storage size.