com.esri.arcgis.networkanalyst
Interface INAServerLocations2

All Superinterfaces:
INAServerLocations, Serializable
All Known Implementing Classes:
NAServerDataLayer, NAServerPropertySets, NAServerRecordSet

public interface INAServerLocations2
extends INAServerLocations, Serializable

Provides access to objects that can be used to load network locations in NAServer.

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 boolean isDoNotLocateOnRestrictedElements()
          Indicates if restricted network elements should be considered when finding network locations.
 void setDoNotLocateOnRestrictedElements(boolean pValue)
          Indicates if restricted network elements should be considered when finding network locations.
 

Method Detail

isDoNotLocateOnRestrictedElements

boolean isDoNotLocateOnRestrictedElements()
                                          throws IOException,
                                                 AutomationException
Indicates if restricted network elements should be considered when finding network locations.

Remarks

DoNotLocateOnRestrictedElements indicates if the loader should avoid locating the network locations on network elements that are restricted by Barriers, PolylineBarriers, PolygonBarriers or due to the set of restrictions specified by NAServerSolverParams.RestrictionAttributeNames.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDoNotLocateOnRestrictedElements

void setDoNotLocateOnRestrictedElements(boolean pValue)
                                        throws IOException,
                                               AutomationException
Indicates if restricted network elements should be considered when finding network locations.

Remarks

DoNotLocateOnRestrictedElements indicates if the loader should avoid locating the network locations on network elements that are restricted by Barriers, PolylineBarriers, PolygonBarriers or due to the set of restrictions specified by NAServerSolverParams.RestrictionAttributeNames.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pValue - The pValue (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.