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.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntaxpublic 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