public static Subnetwork EnableControllerInEditOperation( SubnetworkManager subnetworkManager, Tier tier, Element device, string subnetworkName, string controllerName, string description, string notes )
Public Shared Function EnableControllerInEditOperation( _ ByVal subnetworkManager As SubnetworkManager, _ ByVal tier As Tier, _ ByVal device As Element, _ ByVal subnetworkName As String, _ ByVal controllerName As String, _ ByVal description As String, _ ByVal notes As String _ ) As Subnetwork
Parameters
- subnetworkManager
- The ArcGIS.Core.Data.UtilityNetwork.SubnetworkManager instance used to add a controller to an existing or newly-created subnetwork.
- tier
- The ArcGIS.Core.Data.UtilityNetwork.Tier to which the ArcGIS.Core.Data.UtilityNetwork.Subnetwork is created.
- device
- Corresponds to the feature to be enabled as a ArcGIS.Core.Data.UtilityNetwork.SubnetworkController. This ArcGIS.Core.Data.UtilityNetwork.Element must specify a terminal, and this terminal must be specified as a Controller Terminal in the terminal definition.
- subnetworkName
- Name of the subnetwork.
- controllerName
- Name of the subnetwork controller.
- description
- A description for the subnetwork controller.
- notes
- Additional notes for the subnetwork controller.
Return Value
The newly-created or modified subnetwork.