MongoServerState Enumeration |
Namespace: MongoDB.Driver
Member name | Value | Description | |
---|---|---|---|
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). |
Copyright © 2010–present MongoDB Inc.