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


INAServerLocations2.DoNotLocateOnRestrictedElements Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

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(
  VARIANT_BOOL* pValue
);
[C++]
HRESULT put_DoNotLocateOnRestrictedElements(
  VARIANT_BOOL pValue
);
[C++]

Parameters pValue [out, retval] pValue is a parameter of type VARIANT_BOOL pValue [in] pValue is a parameter of type VARIANT_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