Method ConfigureConnection
- Namespace
- MongoDB.Driver.Core.Configuration
- Assembly
- MongoDB.Driver.dll
ConfigureConnection(Func<ConnectionSettings, ConnectionSettings>)
Configures the connection settings.
public ClusterBuilder ConfigureConnection(Func<ConnectionSettings, ConnectionSettings> configurator)
Parameters
configurator
Func<ConnectionSettings, ConnectionSettings>The connection settings configurator delegate.
Returns
- ClusterBuilder
A reconfigured cluster builder.