Method CompareTopologyVersion
CompareTopologyVersion(TopologyVersion, TopologyVersion)
Compares a local TopologyVersion with a server's TopologyVersion and indicates whether the local
TopologyVersion is staler, fresher, or equal to the server's TopologyVersion.
Per the SDAM specification, if the ProcessIds are not equal, this method assumes that
y is more recent. This means that this method does not exhibit
the reversal properties of inequalities i.e. a "<" b does not imply b ">" a.
public static int CompareTopologyVersion(TopologyVersion x, TopologyVersion y)Parameters
- xTopologyVersion
- The first TopologyVersion. 
- yTopologyVersion
- The other TopologyVersion. 
Returns
- int
- Less than zero indicates that the - xis staler than the- y. Zero indicates that the- xdescription is equal to the- y. Greater than zero indicates that the- xis fresher than the- y.