This document is archived and information here might be outdated.  Recommended version.


INetworkBuild.DeleteSource Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkBuild Interface > INetworkBuild.DeleteSource Method
ArcGIS Developer Help

INetworkBuild.DeleteSource Method

Deletes the given source from the network dataset.

[Visual Basic .NET]
Public Sub DeleteSource ( _
    ByVal Source As INetworkSource _
)
[C#]
public void DeleteSource (
    INetworkSource Source
);
[C++]
HRESULT DeleteSource(
  INetworkSource* Source
);
[C++]
Parameters
Source [in]

Source is a parameter of type INetworkSource*

Product Availability

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

Remarks

DeleteSource removes the specified source from the network dataset. The source will be removed from all the network attributes and directions for the network dataset. DeleteSource cannot be performed on the system junction source for the network dataset. After calling DeleteSource, the network needs to be rebuilt.

See Also

INetworkBuild Interface