Class CreateIndexCommitQuorumWithW
Represents a CreateIndexCommitQuorum with a w value.
public sealed class CreateIndexCommitQuorumWithW : CreateIndexCommitQuorum
- Inheritance
-
CreateIndexCommitQuorumWithW
- Inherited Members
Constructors
CreateIndexCommitQuorumWithW(int)
Initializes an instance of CreateIndexCommitQuorumWithW.
public CreateIndexCommitQuorumWithW(int w)
Parameters
w
intThe w value.
Properties
W
The w value.
public int W { get; }
Property Value
Methods
ToBsonValue()
Converts the create index commit quorum to a BsonValue.
public override BsonValue ToBsonValue()
Returns
- BsonValue
A BsonValue.