Property SrvMaxHosts

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Configuration

Assembly

MongoDB.Driver.dll

SrvMaxHosts

Limits the number of SRV records used to populate the seedlist during initial discovery, as well as the number of additional hosts that may be added during SRV polling.

public int SrvMaxHosts { get; }

Property Value

int