Table of Contents

Enum ConnectionModeSwitch

Namespace
MongoDB.Driver.Core.Clusters
Assembly
MongoDB.Driver.Core.dll

Determine whether to use legacy ConnectionMode or DirectConnection.

[Obsolete("This enum will be removed in a later release.")]
public enum ConnectionModeSwitch

Fields

NotSet = 0

The connectionMode is not specified.

UseConnectionMode = 1

The legacy connectionMode.

UseDirectConnection = 2

The connectionMode based on directConnection.