Table of Contents

Property Primary

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

Primary

Gets an instance of ReadPreference that represents a Primary read preference.

public static ReadPreference Primary { get; }

Property Value

ReadPreference

An instance of ReadPreference that represents a Primary read preference.