Table of Contents

Property Primary

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

Primary

Gets the primary instance (null if there is no primary).

public virtual MongoServerInstance Primary { get; }

Property Value

MongoServerInstance