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


IUtilityNetwork2 Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IUtilityNetwork2 Interface

Provides access to members that get and set flow direction in a utility network.

Product Availability

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

Members

Description
Method CreateForwardStar Creates a forward star cursor on the network index.
Method CreateNetBrowser Creates a network index element browser.
Read-only property EdgeCount Number of edges in the network.
Method GetFlowDirection Returns the flow direction of the specified edge element.
Read-only property JunctionCount Number of junctions in the network.
Read-only property MaxDegree Maximum degree of a junction.
Read-only property MaxTurn Maximum number of turns associated with a junction.
Method PartialEstablishFlowDirection Sets the flow direction of all reachable edge elements based on the placement of sources and sinks.
Method SetFlowDirection Sets the flow direction for the specified edge element.
Read-only property Status Status of the network.
Read-only property TurnCount Number of turns in the network.
Read-only property ValidFlowDirection Indicates if the flow direction is valid for this utility network.

Inherited Interfaces

Interfaces Description
IUtilityNetwork Provides access to members that get and set flow direction in a utility network.
INetwork Provides access to members that give general information about the network and its elements.

Remarks

The only elements in a network that can have flow are edge elements. Junction elements do not have flow.

Flow is maintained in the logical network and not the geometric network. Unlike creating flags, which is done on a feature in the geometric network, changing flow direction on individual elements requires that you directly manipulate the logical network.

This operation requires that you make the network editable. You can do this either through an edit session, using the Editor, or you can use the IWorkspaceEdit interface to edit the workspace of the logical network.

[C#]

Not all members are callable from C#.  Please use IUtilityNetworkGEN instead.

[Visual Basic .NET]

Not all members are callable from VB.NET.  Please use IUtilityNetworkGEN instead.