Table of Contents

Enum MongoServerState

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

The state of a MongoServer instance.

public enum MongoServerState
Extension Methods

Fields

Disconnected = 0

Disconnected from the server.

Connecting = 1

Connecting to the server (in progress).

Connected = 2

Connected to the server.

ConnectedToSubset = 3

Connected to a subset of the replica set members.

Disconnecting = 4

Disconnecting from the server (in progress).