Represents the type of a cluster.
Namespace:
MongoDB.Driver.Core.Clusters
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
SyntaxPublic Enumeration ClusterType
Members
| Member name | Value | Description |
---|
| Unknown | 0 |
The type of the cluster is unknown.
|
| Standalone | 1 |
The cluster is a standalone cluster.
|
| ReplicaSet | 2 |
The cluster is a replica set.
|
| Sharded | 3 |
The cluster is a sharded cluster.
|
| LoadBalanced | 4 |
The cluster is in a load balanced mode.
|
See Also