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

INetworkDataset.SourceByName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkDataset Interface > INetworkDataset.SourceByName Property
ArcGIS Developer Help

INetworkDataset.SourceByName Property

Network dataset source corresponding to the specified name.

[Visual Basic .NET]
Public Function get_SourceByName ( _
    ByVal Name As String _
) As INetworkSource
public INetworkSource get_SourceByName (
    string Name
HRESULT get_SourceByName(
  BSTR Name,
  INetworkSource** Source
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.


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