Click or drag to resize
DseLoadBalancingPolicy Constructor (String, Int32)
Creates a new instance of DseLoadBalancingPolicy given the name of the local datacenter and the amount of host per remote datacenter to use for failover for the local hosts.

Namespace: Dse
Assembly: Dse (in Dse.dll) Version: 2.2.0
Syntax
C#
public DseLoadBalancingPolicy(
	string localDc,
	int usedHostsPerRemoteDc = 0
)

Parameters

localDc
Type: SystemString
The name of the local datacenter (case-sensitive)
usedHostsPerRemoteDc (Optional)
Type: SystemInt32
The amount of host per remote datacenter that the policy should yield in a new query plan after the local nodes.
See Also