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


INetworkDataset.SourceByName Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkDataset.SourceByName Property

Network dataset source corresponding to the specified name.

[Visual Basic .NET]
Public Function get_SourceByName ( _
    ByVal Name As String _
) As INetworkSource
[C#]
public INetworkSource get_SourceByName (
    string Name
);
[C++]
HRESULT get_SourceByName(
  BSTR Name,
  INetworkSource** Source
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR Source [out, retval]
Source is a parameter of type INetworkSource

Product Availability

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

Remarks

The SourceByName property will return a reference to the source with the specified name. Source names are not case sensitive.  For ArcSDE Geodatabases, both the fully qualified name and unqualified name can be used to return topologies.

See Also

INetworkDataset Interface