Table of Contents

Enum MongoServerInstanceType

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Represents an instance of a MongoDB server host (in the case of a replica set a MongoServer uses multiple MongoServerInstances).

public enum MongoServerInstanceType
Extension Methods

Fields

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).