Click or drag to resize

CollectionStatsResult Class

Represents the results of the collection stats command.
Inheritance Hierarchy

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
public class CollectionStatsResult : CommandResult

The CollectionStatsResult type exposes the following members.

Public methodCollectionStatsResult
Initializes a new instance of the CollectionStatsResult class.
Public propertyAverageObjectSize
Gets the average object size.
Public propertyCode
Gets the code.
(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 propertyIndexCount
Gets the index count.
Public propertyIndexSizes
Gets the index sizes.
Public propertyIsCapped
Gets a value indicating whether the collection is capped.
Public propertyLastExtentSize
Gets the last extent size.
Public propertyMaxDocuments
Gets the index count.
Public propertyNamespace
Gets the namespace.
Public propertyObjectCount
Gets the object count.
Public propertyOk
Gets the Ok value from the response.
(Inherited from CommandResult.)
Public propertyPaddingFactor
Gets the padding factor.
Public propertyResponse
Gets the response.
(Inherited from CommandResult.)
Public propertyStorageSize
Gets the storage size.
Public propertySystemFlags
Gets the system flags.
Public propertyTotalIndexSize
Gets the total index size.
Public propertyUserFlags
Gets the user flags.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Extension Methods
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
See Also