com.esri.arcgis.networkanalyst
Interface IGPNALayer2

All Superinterfaces:
IGPNALayer, Serializable
All Known Implementing Classes:
GPNALayer, IGPNALayer2Proxy

public interface IGPNALayer2
extends IGPNALayer, Serializable

Provides access to additional properties/methods of the geoprocessing network analyst layer.

Product Availability

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


Method Summary
 boolean isExcludeRestrictedElements()
          Indicates whether to exclude restricted portions of the network when loading points.
 void setExcludeRestrictedElements(boolean bExcludeRestrictedElements)
          Indicates whether to exclude restricted portions of the network when loading points.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.IGPNALayer
addClassDefinition, getClassDefinition, getClassDefinitions, getDENetworkDataset, getLocatorFeatureAgents, getSearchRadius, isFindClosestAmongAllAgents, setDENetworkDatasetByRef, setFindClosestAmongAllAgents, setLocatorFeatureAgentsByRef, setSearchRadiusByRef
 

Method Detail

setExcludeRestrictedElements

void setExcludeRestrictedElements(boolean bExcludeRestrictedElements)
                                  throws IOException,
                                         AutomationException
Indicates whether to exclude restricted portions of the network when loading points.

Product Availability

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

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

isExcludeRestrictedElements

boolean isExcludeRestrictedElements()
                                    throws IOException,
                                           AutomationException
Indicates whether to exclude restricted portions of the network when loading points.

Product Availability

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

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