ArcGIS Pro 2.6 API Reference Guide
UpdateAllSubnetworks Method

ArcGIS.Core.Data.UtilityNetwork Namespace > SubnetworkManager Class : UpdateAllSubnetworks Method
The Tier that contains the subnetworks to be updated.
Indicates whether the processing should continue after a failure has occurred.
Updates all the subnetworks that are part of the tier in a utility network. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void UpdateAllSubnetworks( 
   Tier tier,
   bool continueOnFailure
)
Public Sub UpdateAllSubnetworks( _
   ByVal tier As Tier, _
   ByVal continueOnFailure As Boolean _
) 

Parameters

tier
The Tier that contains the subnetworks to be updated.
continueOnFailure
Indicates whether the processing should continue after a failure has occurred.
Exceptions
ExceptionDescription
tier is null.
This operation cannot be invoked inside ArcGIS.Core.Data.Geodatabase.ApplyEdits or when editing is in progress.
A geodatabase-related exception has occurred.
Remarks
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

SubnetworkManager Class
SubnetworkManager Members