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


INetSolver Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalysis > ESRI.ArcGIS.NetworkAnalysis > Interfaces > IN > INetSolver Interface
ArcGIS Developer Help

INetSolver Interface

Provides access to members that specify the network and the barriers to be used with this solver.

Product Availability

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

When To Use

Use the INetSolver interface to specify which network on which you want to perform an analysis, which elements in the network are barriers, and which element classes are disabled.

Members

Name Description
Method DisableElementClass Sets an element class as disabled within this solver.
Write-only property ElementBarriers Network element barrier set to be used in this solver.
Write-only property SelectionSetBarriers Selection set barriers to be used in this solver.
Write-only property SourceNetwork Source network to be used in this solver.

Classes that implement INetSolver

Classes Description
TraceFlowSolver A collection of basic trace flow solvers used to analyze networks.

Remarks

When you create a TraceFlowSolver object, you also get a reference to a NetSolver object, since TraceFlowSolver inhereits from NetSolver.

Disabling an element class through the NetSolver object only disables it for your tracing operations. This does not affect how IUtilityNetwork::SetFlowDirection sets flow direction. If you want to disable elements for setting flow direction,  INetAttributesEdit::SetDisabledState will disable network elements in stand-alone logical networks, and INetworkFeature::Enabled will disable network features in geometric networks.

See Also

INetSolver Interface | ITraceFlowSolver Interface | INetSolverWeights Interface

.NET Samples

Custom upstream trace task