ArcGIS Pro 2.8 API Reference Guide
GetDomainNetworks Method

ArcGIS.Core.Data.UtilityNetwork Namespace > UtilityNetworkDefinition Class : GetDomainNetworks Method
Gets an IReadOnlyList of DomainNetwork objects defined by this utility network. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public IReadOnlyList<DomainNetwork> GetDomainNetworks()
Public Function GetDomainNetworks() As IReadOnlyList(Of DomainNetwork)

Return Value

An IReadOnlyList of DomainNetwork objects.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

UtilityNetworkDefinition Class
UtilityNetworkDefinition Members