Table of Contents

Method GetStats

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

GetStats()

Gets the stats for this collection.

public virtual CollectionStatsResult GetStats()

Returns

CollectionStatsResult

The stats for this collection as a CollectionStatsResult.

GetStats(GetStatsArgs)

Gets the stats for this collection.

public virtual CollectionStatsResult GetStats(GetStatsArgs args)

Parameters

args GetStatsArgs

The args.

Returns

CollectionStatsResult

The stats for this collection as a CollectionStatsResult.