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