Table of Contents

Method Create

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

Create(string)

Creates a create index commit quorum with a mode value.

public static CreateIndexCommitQuorum Create(string mode)

Parameters

mode string

The mode value.

Returns

CreateIndexCommitQuorum

A create index commit quorum.

Create(int)

Creates a create index commit quorum with a w value.

public static CreateIndexCommitQuorum Create(int w)

Parameters

w int

The w value.

Returns

CreateIndexCommitQuorum

A create index commit quorum.