ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / UtilityNetwork Class / ValidateNetworkTopology Method / ValidateNetworkTopology(Geometry) Method
The extent of the area to be validating. If this parameter is missing or null, the entire extent of the utility network is used.

In This Topic
    ValidateNetworkTopology(Geometry) Method
    In This Topic
    Validates the utility network topology within the provided extent. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public ValidationResult ValidateNetworkTopology( 
       Geometry extent
    )
    Public Overloads Function ValidateNetworkTopology( _
       ByVal extent As Geometry _
    ) As ValidationResult

    Parameters

    extent
    The extent of the area to be validating. If this parameter is missing or null, the entire extent of the utility network is used.

    Return Value

    A ValidationResult that describes the result of the operation.
    Exceptions
    ExceptionDescription
    This operation cannot be invoked inside ArcGIS.Core.Data.Geodatabase.ApplyEdits or when an edit operation is in progress.
    A geodatabase-related exception has occurred.
    This method or property must be called within the lambda passed to QueuedTask.Run
    Remarks
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also