ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / UtilityNetworkDefinition Class / GetDomainNetworks Method

In This Topic
    GetDomainNetworks Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also