IBaseNetworkTopology Interface

Provides access to members that specify the properties of a base network topology.

Members

Name Description
Read-only property DirtyArea Returns the dirty area polygon of the utility network.
Method HasValidNetworkTopology Indicates if the network has a valid network topology.
Read-only property NetworkTopologyUpdateInfo Returns the network topology update info.
Read-only property NetworkTopologyUpdateMoments Returns the network topology update moments.
Method ValidateNetworkTopology Validates the network topology.
Method ValidateNetworkTopologyEx Validates the network topology.

IBaseNetworkTopology.DirtyArea Property

Returns the dirty area polygon of the utility network.

Public Function get_DirtyArea ( _
    ByVal Location As IPolygon _
) As IPolygon
public IPolygon get_DirtyArea (
    IPolygon Location
);

IBaseNetworkTopology.HasValidNetworkTopology Method

Indicates if the network has a valid network topology.

Public Function HasValidNetworkTopology ( _
) As Boolean
public bool HasValidNetworkTopology (
);

IBaseNetworkTopology.NetworkTopologyUpdateInfo Property

Returns the network topology update info.

Public Sub NetworkTopologyUpdateInfo ( _
    ByVal indexUpdateInfo As esriIndexUpdateInfo, _
    ByRef time As Double, _
    ByRef duration As Integer _
)
public void NetworkTopologyUpdateInfo (
    esriIndexUpdateInfo indexUpdateInfo,
    ref double time,
    ref int duration
);

IBaseNetworkTopology.NetworkTopologyUpdateMoments Property

Returns the network topology update moments.

Public Function get_NetworkTopologyUpdateMoments ( _
    ByVal indexUpdateInfo As esriIndexUpdateInfo _
) As IDoubleArray
public IDoubleArray get_NetworkTopologyUpdateMoments (
    esriIndexUpdateInfo indexUpdateInfo
);

IBaseNetworkTopology.ValidateNetworkTopology Method

Validates the network topology.

Public Sub ValidateNetworkTopology ( _
    ByVal Extent As IEnvelope, _
    ByVal asynchronous As Boolean, _
    ByRef TimeStamp As Double, _
    ByRef HasErrors As Boolean, _
    ByRef dirtyAreasCount As Integer, _
    ByRef fullUpdate As Boolean _
)
public void ValidateNetworkTopology (
    IEnvelope Extent,
    bool asynchronous,
    ref double TimeStamp,
    ref bool HasErrors,
    ref int dirtyAreasCount,
    ref bool fullUpdate
);

IBaseNetworkTopology.ValidateNetworkTopologyEx Method

Validates the network topology.

Public Sub ValidateNetworkTopologyEx ( _
    ByVal Extent As IEnvelope, _
    ByVal SelectionSet As IIndexedGUIDSets, _
    ByVal asynchronous As Boolean, _
    ByVal preserveEIDs As Boolean, _
    ByVal respectDAs As Boolean, _
    ByRef TimeStamp As Double, _
    ByRef HasErrors As Boolean, _
    ByRef dirtyAreasCount As Integer, _
    ByRef fullUpdate As Boolean _
)
public void ValidateNetworkTopologyEx (
    IEnvelope Extent,
    IIndexedGUIDSets SelectionSet,
    bool asynchronous,
    bool preserveEIDs,
    bool respectDAs,
    ref double TimeStamp,
    ref bool HasErrors,
    ref int dirtyAreasCount,
    ref bool fullUpdate
);

Classes that implement IBaseNetworkTopology

Classes Description
private void OpenDataset(IFeatureWorkspace featureWorkspace, string extensionDatasetName)

{

    IDataset unDataset = featureWorkspace.OpenExtensionDataset(esriDatasetType.esriDTUtilityNetwork, extensionDatasetName);

    IBaseNetwork baseNetwork = (IBaseNetwork)unDataset;

    IBaseNetworkTopology baseNetworkTopology = (IBaseNetworkTopology)baseNetwork;

 bool hasValidateNetworkTopology = baseNetworkTopology.HasValidNetworkTopology();

}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.