Class ClusterSettings
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Driver.Core.Configuration
Assembly
MongoDB.Driver.dll
Represents settings for a cluster.
public class ClusterSettings
Inheritance
ClusterSettings
Inherited Members
Constructors
Initializes a new instance of the ClusterSettings class.
Properties
Gets the crypt client settings.
Gets the DirectConnection.
Gets the end points.
Gets whether to use load balanced.
Gets the local threshold.
MaxServerSelectionWaitQueueSize
Gets the maximum size of the server selection wait queue.
Gets the post server selector.
Gets the pre server selector.
Gets the name of the replica set.
Gets the connection string scheme.
Gets the server API.
Gets the server selection timeout.
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.
Gets the SRV service name which modifies the srv URI to look like:
_{srvServiceName}._tcp.{hostname}.{domainname}
The default value is "mongodb".
Methods
Returns a new ClusterSettings instance with some settings changed.