Enum ClusterConnectionMode
Represents the cluster connection mode.
[Obsolete("Use DirectConnection instead.")]
public enum ClusterConnectionMode
Fields
Automatic = 0Determine the cluster type automatically.
Direct = 1Connect directly to a single server of any type.
Standalone = 2Connect directly to a Standalone server.
ReplicaSet = 3Connect to a replica set.
Sharded = 4Connect to one or more shard routers.