Table of Contents

Method SetCapped

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

SetCapped(bool)

Sets whether the collection is capped.

public CollectionOptionsBuilder SetCapped(bool value)

Parameters

value bool

Whether the collection is capped.

Returns

CollectionOptionsBuilder

The builder (so method calls can be chained).