Method ToBsonValue

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

ToBsonValue()

Converts the create index commit quorum to a BsonValue.

public override BsonValue ToBsonValue()

Returns

BsonValue

A BsonValue.