Click or drag to resize

HostDatacenter Property

Gets the name of the datacenter this host is part of. The returned datacenter name is the one as known by Cassandra. Also note that it is possible for this information to not be available. In that case this method returns null and caller should always expect that possibility.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public string Datacenter { get; }

Property Value

Type: String
See Also