The network analysis layer or standalone table by class name.
[Visual Basic .NET] Public Function get_DataLayerByNAClassName ( _ ByVal Name As String _ ) As IDataLayer
[C#] public IDataLayer get_DataLayerByNAClassName ( string Name );
[C++]
HRESULT get_DataLayerByNAClassName(
BSTR Name,
IDataLayer** DataLayer
);
[C++]Parameters
Name [in] Name is a parameter of type BSTR DataLayer [out, retval]DataLayer is a parameter of type IDataLayer
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.