ArcGIS Pro 2.8 API Reference Guide
GetDomainNetwork Method

ArcGIS.Core.Data.UtilityNetwork Namespace > UtilityNetworkDefinition Class : GetDomainNetwork Method
The name of the desired DomainNetwork object to return.
Gets the DomainNetwork with the specified name from this utility network. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public DomainNetwork GetDomainNetwork( 
   string domainNetworkName
)
Public Function GetDomainNetwork( _
   ByVal domainNetworkName As String _
) As DomainNetwork

Parameters

domainNetworkName
The name of the desired DomainNetwork object to return.

Return Value

A DomainNetwork object with the specified name.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run
Remarks
The string comparison used to find the name is case-insensitive.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

UtilityNetworkDefinition Class
UtilityNetworkDefinition Members