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


INAServer.GetNALayerNames Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAServer Interface > INAServer.GetNALayerNames Method
ArcGIS Developer Help

INAServer.GetNALayerNames Method

Array of network analysis layers of a particular analysis type.

[Visual Basic .NET]
Public Function GetNALayerNames ( _
    ByVal layerType As esriNAServerLayerType _
) As String[]
[C#]
public String[] GetNALayerNames (
    esriNAServerLayerType layerType
);
[C++]
HRESULT GetNALayerNames(
  esriNAServerLayerType layerType
);
[C++]
Parameters
layerType [in]

layerType is a parameter of type esriNAServerLayerType

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

GetNALayerNames returns an array of names of NALayers of a given type.  For example, you could use this method to find the names of all of the route analysis layers in the default map of the map server.

See Also

INAServer Interface