MongoServerInstanceType Enumeration |
Represents an instance of a MongoDB server host (in the case of a replica set a MongoServer uses multiple MongoServerInstances).
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public enum MongoServerInstanceType
Public Enumeration MongoServerInstanceType
type MongoServerInstanceType
Members
| Member name | Value | Description |
---|
| Unknown | 0 |
The server instance type is unknown. This is the default.
|
| StandAlone | 1 |
The server is a standalone instance.
|
| ReplicaSetMember | 2 |
The server is a replica set member.
|
| ShardRouter | 3 |
The server is a shard router (mongos).
|
See Also