Click or drag to resize
PoolingOptionsSetMaxConnectionsPerHost Method
Sets the maximum number of connections per host.

Namespace: Dse
Assembly: Dse (in Dse.dll) Version: 2.3.0
Syntax
C#
public PoolingOptions SetMaxConnectionsPerHost(
	HostDistance distance,
	int maxConnections
)

Parameters

distance
Type: DseHostDistance
the HostDistance for which to set this threshold.
maxConnections
Type: SystemInt32
the value to set

Return Value

Type: PoolingOptions
this PoolingOptions.
See Also