ArcObjects Library Reference (NetworkAnalyst)  

INAServerLocations2 Interface

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 Provides access to objects that can be used to load network locations in NAServer.

CoClasses that implement INAServerLocations2

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

Remarks

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.