|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INAServerLocations2
Deprecated as of 10.0. Provides access to objects that can be used to load network locations in NAServer.
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.
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 |
---|
boolean isDoNotLocateOnRestrictedElements() throws IOException, AutomationException
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDoNotLocateOnRestrictedElements(boolean pValue) throws IOException, AutomationException
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.
pValue
- The pValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |