ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / UtilityNetwork Class / ValidateNetworkTopology Method / ValidateNetworkTopology(IEnumerable<Selection>) Method
The set of features/objects to validate. This must be GlobalID-based.

In This Topic
    ValidateNetworkTopology(IEnumerable<Selection>) Method
    In This Topic
    Validates the utility network topology within the provided extent according to the provided validation type and selection set. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public ValidationResult ValidateNetworkTopology( 
       IEnumerable<Selection> selections
    )
    Public Overloads Function ValidateNetworkTopology( _
       ByVal selections As IEnumerable(Of Selection) _
    ) As ValidationResult

    Parameters

    selections
    The set of features/objects to validate. This must be GlobalID-based.

    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.
    Each ArcGIS.Core.Data.Selection in selections must be GlobalID-based.
    A geodatabase-related exception has occurred.
    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.6 or higher.
    See Also