PoolingOptionsSetMaxConnectionsPerHost Method  | 
 
             Sets the maximum number of connections per host.
            
 
    Namespace: 
   Cassandra
    Assembly:
   Cassandra (in Cassandra.dll) Version: 3.10.0
Syntaxpublic PoolingOptions SetMaxConnectionsPerHost(
	HostDistance distance,
	int maxConnections
)
Parameters
- distance
 - Type: CassandraHostDistance
 the HostDistance for which to set this threshold.
              - maxConnections
 - Type: SystemInt32
 the value to set  
Return Value
Type: 
PoolingOptionsthis 
PoolingOptions. 
See Also