Class DatabaseStatsResult
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.
public DatabaseStatsResult(BsonDocument response)
Parameters
response
BsonDocumentThe response.
Properties
AverageObjectSize
Gets the average object size.
public double AverageObjectSize { get; }
Property Value
CollectionCount
Gets the collection count.
public int CollectionCount { get; }
Property Value
DataSize
Gets the data size.
public long DataSize { get; }
Property Value
ExtentCount
Gets the extent count.
public int ExtentCount { get; }
Property Value
FileSize
Gets the file size.
public long FileSize { get; }
Property Value
IndexCount
Gets the index count.
public int IndexCount { get; }
Property Value
IndexSize
Gets the index size.
public long IndexSize { get; }
Property Value
ObjectCount
Gets the object count.
public long ObjectCount { get; }
Property Value
StorageSize
Gets the storage size.
public long StorageSize { get; }