ArcObjects Library Reference (GeoDatabase)  

IGeometricNetworkConnectivity2 Interface

Provides access to members that check and repair and rebuild connectivity.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

Use the IGeometricNetworkConnectivity2 interface in place of the IGeometricNetworkConnectivity interface when you need to repair the connectivity of network features.

The two methods available from IGeometricNetworkConnectivity2 should be used under different circumstance.

RebuildConnectivity2 should be used when:

CheckandRepairConnectivity should be used when:

Members

Description
Method CheckAndRepairConnectivity Checks and optionally repairs connectivity.
Method RebuildConnectivity Incrementally rebuilds connectivity for features within and intersecting the specified envelope.
Method RebuildConnectivity2 Incrementally rebuilds connectivity for features within and intersecting the specified envelope. Version 2.

Inherited Interfaces

Interfaces Description
IGeometricNetworkConnectivity Provides access to a member that rebuilds geometric network connectivity.

CoClasses that implement IGeometricNetworkConnectivity2

CoClasses and Classes Description
GeometricNetwork ESRI Geometric Network object.

Remarks

The IGeometricNetworkConnectivity2 interface provides access to the methods that can be used to verify and rebuild the inconsistent connectivity of network features.  These methods can be computationally expensive and should only be run when the networik is suspected of having inconsistent connectivity.