| ClusterConnectionMode Enumeration | 
Note: This API is now obsolete.
Namespace: MongoDB.Driver.Core.Clusters
 Syntax
Syntax Members
Members| Member name | Value | Description | |
|---|---|---|---|
| Automatic | 0 | Determine the cluster type automatically. | |
| Direct | 1 | Connect directly to a single server of any type. | |
| Standalone | 2 | Connect directly to a Standalone server. | |
| ReplicaSet | 3 | Connect to a replica set. | |
| Sharded | 4 | Connect to one or more shard routers. | 
 See Also
See Also