validate Network Topology
Returns a job that when started will validate the utility network topology within the provided extent. The preferred job execution type is com.arcgismaps.tasks.geoprocessing.GeoprocessingExecutionType.SynchronousExecute because it is faster to start up. For larger jobs, com.arcgismaps.tasks.geoprocessing.GeoprocessingExecutionType.SynchronousExecute can lead to timeouts, at which point com.arcgismaps.tasks.geoprocessing.GeoprocessingExecutionType.AsynchronousSubmit should be used.
The job that is returned is dormant and needs to be explicitly started.
When working with an enterprise geodatabase, only a single session can run the validate operation at a time in the default version.
See Enable and validate network topology errors for more information on validation errors.
Return
An com.arcgismaps.tasks.utilitynetworks.UtilityNetworkValidationJob to validate network topology.
Since
200.3.0
Parameters
The extent of the area to be validated.
A com.arcgismaps.tasks.geoprocessing.GeoprocessingExecutionType indicating the job execution type. The value passed in must be either com.arcgismaps.tasks.geoprocessing.GeoprocessingExecutionType.AsynchronousSubmit or com.arcgismaps.tasks.geoprocessing.GeoprocessingExecutionType.SynchronousExecute.