ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / UtilityNetwork Class / ValidateNetworkTopology Method / ValidateNetworkTopology(IEnumerable<Selection>,ServiceSynchronizationType) Method
The set of features/objects to validate. This must be GlobalID-based.
Specifies which implementation of the service endpoint to call. This parameter is ignored for non-services based utility networks.

In This Topic
    ValidateNetworkTopology(IEnumerable<Selection>,ServiceSynchronizationType) 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

    Parameters

    selections
    The set of features/objects to validate. This must be GlobalID-based.
    serviceSynchronizationType
    Specifies which implementation of the service endpoint to call. This parameter is ignored for non-services based utility networks.

    Return Value

    A ValidationResult that describes the result of the operation.
    Exceptions
    ExceptionDescription
    serviceSynchronizationType is invalid.
    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