ArcGIS Pro 2.7 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.
Remarks
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

SubnetworkManager Class
SubnetworkManager Members