ArcGIS Pro 2.8 API Reference Guide
DisableController Method

ArcGIS.Core.Data.UtilityNetwork Namespace > SubnetworkManager Class : DisableController Method
Corresponds to the feature to be disabled as a SubnetworkController.
Disables a feature corresponding to device from being a SubnetworkController. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void DisableController( 
   Element device
)
Public Sub DisableController( _
   ByVal device As Element _
) 

Parameters

device
Corresponds to the feature to be disabled as a SubnetworkController.
Exceptions
ExceptionDescription
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