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


INetElementBarriersGEN Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalysis)  

INetElementBarriersGEN Interface

Provides access to members that specify a set of barriers by EIDs for the TraceFlowSolver object.

Product Availability

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

When To Use

Use the INetElementBarriersGEN interface to create a set of barriers to pass to the TraceFlowSolver object.

Barriers are stopping points affecting a trace. For example, a downed powerline can be a barrier that affects a trace. Barriers do not affect the flow through a network. If you want to change the flow through a stand-alone logical network you can disable individual elements using the INetAttributesEdit::SetDisabledState method.  For geometric networks, set the INetworkFeature::Enabled property to False.

Members

Description
Read/write property ElementType Type of network element on which the barriers are placed.
Read/write property Network Network on which the barrier set is placed.
Method SetBarriers Specifies a set of network features to use as barriers.
Method SetBarriersByEID Specifies a set of network element IDs to use as barriers.

CoClasses that implement INetElementBarriersGEN

CoClasses and Classes Description
NetElementBarriers A container for defining to the NetSolver which network elements have barriers.

Remarks

Sets of junction barriers and edge barriers should be created seperately.

.NET Related Topics

NetworkAnalysis