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.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
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