Click or drag to resize

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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
[ObsoleteAttribute("This enum will be removed in a later release.")]
public enum ConnectionModeSwitch
Members
  Member nameValueDescription
NotSet0 The connectionMode is not specified.
UseConnectionMode1 The legacy connectionMode.
UseDirectConnection2 The connectionMode based on directConnection.
See Also