This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAServerLocations2 Interface > INAServerLocations2.DoNotLocateOnRestrictedElements Property (ArcObjects .NET 10.4 SDK) |
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
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.