This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkBuild Interface > INetworkBuild.DeleteSource Method (ArcObjects .NET 10.4 SDK) |
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
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.