ArcGIS Pro 2.8 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.
This method or property must be called within the lambda passed to QueuedTask.Run
Remarks
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

SubnetworkManager Class
SubnetworkManager Members