MongoServerPrimary Property |
Gets the primary instance (null if there is no primary).
Namespace: MongoDB.DriverAssembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.0.1
Syntax public virtual MongoServerInstance Primary { get; }
Public Overridable ReadOnly Property Primary As MongoServerInstance
Get
abstract Primary : MongoServerInstance with get
override Primary : MongoServerInstance with get
Property Value
Type:
MongoServerInstanceSee Also