Method ToBsonValue NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll ToBsonValue() Converts the create index commit quorum to a BsonValue. public override BsonValue ToBsonValue() Returns BsonValue A BsonValue.