ConnectionModeSwitch Enumeration |
Note: This API is now obsolete.
Determine whether to use legacy ConnectionMode or DirectConnection.
Namespace:
MongoDB.Driver.Core.Clusters
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax [ObsoleteAttribute("This enum will be removed in a later release.")]
public enum ConnectionModeSwitch
<ObsoleteAttribute("This enum will be removed in a later release.")>
Public Enumeration ConnectionModeSwitch
[<ObsoleteAttribute("This enum will be removed in a later release.")>]
type ConnectionModeSwitch
Members
| Member name | Value | Description |
---|
| NotSet | 0 |
The connectionMode is not specified.
|
| UseConnectionMode | 1 |
The legacy connectionMode.
|
| UseDirectConnection | 2 |
The connectionMode based on directConnection.
|
See Also