ArcGIS Pro 2.6 API Reference Guide
ValidateNetworkTopology(Geometry,InvocationTarget) Method

ArcGIS.Core.Data.UtilityNetwork Namespace > UtilityNetwork Class > ValidateNetworkTopology Method : ValidateNetworkTopology(Geometry,InvocationTarget) 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.
Specifies which implementation of the service endpoint to call. This parameter is ignored for non-services based utility networks.
Validates the utility network topology within the provided extent. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Public Overloads Function ValidateNetworkTopology( _
   ByVal extent As Geometry, _
   ByVal invocationTarget As InvocationTarget _
) 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.
invocationTarget
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
This operation cannot be invoked inside ArcGIS.Core.Data.Geodatabase.ApplyEdits or when an edit operation is in progress.
invocationTarget is invalid.
A geodatabase-related exception has occurred.
Remarks
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

UtilityNetwork Class
UtilityNetwork Members
Overload List