Table of Contents

Method SetBackground

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

SetBackground(bool)

Sets whether to build the index in the background.

public IndexOptionsBuilder<TDocument> SetBackground(bool value)

Parameters

value bool

Whether to build the index in the background.

Returns

IndexOptionsBuilder<TDocument>

The builder (so method calls can be chained).