ReadPreferencePrimary Property |
Gets an instance of ReadPreference that represents a Primary read preference.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public static ReadPreference Primary { get; }
Public Shared ReadOnly Property Primary As ReadPreference
Get
static member Primary : ReadPreference with get
Property Value
Type:
ReadPreference
An instance of ReadPreference that represents a Primary read preference.
See Also