ConnectionMode Enumeration |
Namespace: MongoDB.Driver
Member name | Value | Description | |
---|---|---|---|
Automatic | 0 | Automatically determine how to connect. | |
Direct | 1 | Connect directly to a server. | |
ReplicaSet | 2 | Connect to a replica set. | |
ShardRouter | 3 | Connect to one or more shard routers. | |
Standalone | 4 | Connect to a standalone server. |
Copyright © 2010–present MongoDB Inc.