Click or drag to resize

ClusterConnectionMode Enumeration

Note: This API is now obsolete.

Represents the cluster connection mode.

Namespace:  MongoDB.Driver.Core.Clusters
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
[ObsoleteAttribute("Use DirectConnection instead.")]
public enum ClusterConnectionMode
Members
  Member nameValueDescription
Automatic0 Determine the cluster type automatically.
Direct1 Connect directly to a single server of any type.
Standalone2 Connect directly to a Standalone server.
ReplicaSet3 Connect to a replica set.
Sharded4 Connect to one or more shard routers.
See Also