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


INAServerLocations2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAServerLocations2 Interface

Deprecated as of 10.0. Provides access to objects that can be used to load network locations in NAServer.

Product Availability

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

Members

Description
Read/write property DoNotLocateOnRestrictedElements Indicates if restricted network elements should be considered when finding network locations.

Inherited Interfaces

Interfaces Description
INAServerLocations Deprecated as of 10.0. Provides access to objects that can be used to load network locations in NAServer.

CoClasses that implement INAServerLocations2

CoClasses and Classes Description
NAServerDataLayer Deprecated as of 10.0. A container that references a data layer containing network locations.
NAServerPropertySets Deprecated as of 10.0. A container for an array of PropertySet objects representing network locations.
NAServerRecordSet Deprecated as of 10.0. A container for a RecordSet of network locations.

Remarks

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.

The INAServerLocations2 interface is a base interface that is inherited by other interfaces (INAServerPropertySets, INAServerRecordSet, and INAServerDataLayer) that represents a collection of network locations. Objects that ultimately implement this interface include NAServerPropertySets, NAServerRecordSet, and NAServerDataLayer.

The network location properties on the various NAServerSolverParams objects (for example Stops, Barriers, Facilities, and Incidents) are of type INAServerLocations. Pass in an NAServerPropertySets, NAServerRecordSet, or NAServerDataLayer object to these properties.

Describes a collection of input features to load as network locations into the various input classes to the network analysis problem. This is how you specify the Stops, Barriers, Incidents, Facilities, etc., to use during analysis.