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


INAServerLocations2.DoNotLocateOnRestrictedElements Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAServerLocations2 Interface > INAServerLocations2.DoNotLocateOnRestrictedElements Property
ArcGIS Developer Help

INAServerLocations2.DoNotLocateOnRestrictedElements Property

Indicates if restricted network elements should be considered when finding network locations.

[Visual Basic .NET]
Public Property DoNotLocateOnRestrictedElements As Boolean
[C#]
public bool DoNotLocateOnRestrictedElements {get; set;}
[C++]
HRESULT get_DoNotLocateOnRestrictedElements(
  Boolean* pValue
);
[C++]
HRESULT put_DoNotLocateOnRestrictedElements(
  VARIANT_BOOL pValue
);
[C++]
Parameters
pValue [out, retval]

pValue is a parameter of type bool* pValue [in]
pValue is a parameter of type bool

Product Availability

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

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.

See Also

INAServerLocations2 Interface