  | TopologyNodeDistanceFrom(String, String) Method | 
            Gets the distance between a node in the topology and another node (which may or may not be in the topology).
            
Namespace: Ookii.Jumbo.TopologyAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic int DistanceFrom(
	string hostName,
	string? rackId
)
Public Function DistanceFrom ( 
	hostName As String,
	rackId As String
) As Integer
public:
int DistanceFrom(
	String^ hostName, 
	String^ rackId
)
member DistanceFrom : 
        hostName : string * 
        rackId : string -> int Parameters
- hostName  String
 - The host name of the other node. May be .
 - rackId  String
 - The rack ID of the other node. May be .
 
Return Value
Int320 if the two nodes are identical, 1 if they are in the same rack, or 2 if they are in different racks.
See Also