Click or drag to resize

ClusterConnectionMode Enumeration

Represents the cluster connection mode.

Namespace:  MongoDB.Driver.Core.Clusters
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
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