ArcObjects Library Reference (NetworkAnalyst)  

INAServerRouteParams.Barriers Property

RecordSet or array of PropertySets representing Barriers loaded as network locations during analysis.

[Visual Basic .NET]
Public Property Barriers As INAServerLocations
[C#]
public INAServerLocations Barriers {get; set;}
[C++]
HRESULT get_Barriers(
  INAServerLocations** Barriers
);
[C++]
HRESULT putref_Barriers(
  INAServerLocations* Barriers
);
[C++]

Parameters

Barriers [out, retval]

  Barriers is a parameter of type INAServerLocations

Barriers [in]

  Barriers is a parameter of type INAServerLocations

Product Availability

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

Remarks

Barriers specifies an instance of NAServerLocations class to use in order to restrict or alter the impedance of network elements.

See Also

INAServerRouteParams Interface