ClusterBuilderConfigureConnectionPool Method |
Configures the connection pool settings.
Namespace:
MongoDB.Driver.Core.Configuration
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public ClusterBuilder ConfigureConnectionPool(
Func<ConnectionPoolSettings, ConnectionPoolSettings> configurator
)
Public Function ConfigureConnectionPool (
configurator As Func(Of ConnectionPoolSettings, ConnectionPoolSettings)
) As ClusterBuilder
member ConfigureConnectionPool :
configurator : Func<ConnectionPoolSettings, ConnectionPoolSettings> -> ClusterBuilder
Parameters
- configurator
- Type: SystemFuncConnectionPoolSettings, ConnectionPoolSettings
The connection pool settings configurator delegate.
Return Value
Type:
ClusterBuilderA reconfigured cluster builder.
See Also