DatabaseStatsResult PropertiesMongoDB C# Driver API Documentation

The DatabaseStatsResult type exposes the following members.

Properties

  NameDescription
Public propertyAverageObjectSize
Gets the average object size.
Public propertyCode
Gets the code.
(Inherited from CommandResult.)
Public propertyCollectionCount
Gets the collection count.
Public propertyCommand Obsolete.
Gets the command.
(Inherited from CommandResult.)
Public propertyCommandName Obsolete.
Gets the command name.
(Inherited from CommandResult.)
Public propertyDataSize
Gets the data size.
Public propertyErrorMessage
Gets the error message (null if none).
(Inherited from CommandResult.)
Public propertyExtentCount
Gets the extent count.
Public propertyFileSize
Gets the file size.
Public propertyIndexCount
Gets the index count.
Public propertyIndexSize
Gets the index size.
Public propertyObjectCount
Gets the object count.
Public propertyOk
Gets the Ok value from the response.
(Inherited from CommandResult.)
Public propertyResponse
Gets the response.
(Inherited from CommandResult.)
Public propertyServerInstance Obsolete.
Gets the server instance this command was executed on.
(Inherited from CommandResult.)
Public propertyStorageSize
Gets the storage size.
Top
See Also

Reference