MongoServerState Property |
Gets the current state of this server (as of the last operation, not updated until another operation is performed).
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public virtual MongoServerState State { get; }
Public Overridable ReadOnly Property State As MongoServerState
Get
abstract State : MongoServerState with get
override State : MongoServerState with get
Property Value
Type:
MongoServerStateSee Also