ClusterSettingsConnectionMode Property |
Note: This API is now obsolete.
Gets the connection mode.
Namespace:
MongoDB.Driver.Core.Configuration
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax [ObsoleteAttribute("Use DirectConnection instead.")]
public ClusterConnectionMode ConnectionMode { get; }
<ObsoleteAttribute("Use DirectConnection instead.")>
Public ReadOnly Property ConnectionMode As ClusterConnectionMode
Get
[<ObsoleteAttribute("Use DirectConnection instead.")>]
member ConnectionMode : ClusterConnectionMode with get
Property Value
Type:
ClusterConnectionMode
The connection mode.
See Also