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

INAServer Interface (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
ArcGIS Developer Help

INAServer Interface

Deprecated as of 10.0. Provides access to methods that perform network analysis in a stateless environment within a MapServer.

Product Availability

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


Name Description
Method GetNALayerNames Array of network analysis layers of a particular analysis type.
Method GetNetworkDescription Description of the network dataset associated with the specified network analysis layer.
Method GetSolverParameters Default solver parameters for the specified network analysis layer.
Method Solve Perform network analysis based on the input solve parameters.

Classes that implement INAServer

Classes Description
NAServer Deprecated as of 10.0. A MapServer object extension for performing network analysis within a stateless environment.
NAServerIP Deprecated as of 10.0. NAServer Proxy for IP Messages.
NAServerLP Deprecated as of 10.0. NAServer Proxy for LAN messages.


At version 10.1, ArcGIS for Server no longer supports performing network analysis via local connections using the GISServer and GISClient APIs. Use the SOAP or REST API instead.

INAServer has been superseded by INAServer2.


This example illustrates connecting to an NAServer web service via a web reference and getting the names of the route layers.

// Assumes you've created a web reference to web service named "SanFrancisco"
SanFrancisco_NAServer pNAServer = new SanFrancisco_NAServer();
pNAServer.Url = "http://localhost:6080/arcgis/services/SanFrancisco/MapServer/NAServer";

// Use NAServer to get analysis layer names
string[] routeLayerNames = pNAServer.GetNALayerNames(esriNAServerLayerType.esriNAServerRouteLayer);