validateNetworkTopology method
- required Envelope extent,
- GeoprocessingExecutionType geoprocessingExecutionType = GeoprocessingExecutionType.synchronousExecute,
Returns a job that when started will validate the utility network topology within the provided extent.
The preferred job execution type is GeoprocessingExecutionType.synchronousExecute because it is faster to start up. For larger jobs, GeoprocessingExecutionType.synchronousExecute can lead to timeouts, at which point 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.
Parameters:
extent— The extent of the area to be validated.geoprocessingExecutionType— A GeoprocessingExecutionType indicating the job execution type. The value passed in must be either GeoprocessingExecutionType.asynchronousSubmit or GeoprocessingExecutionType.synchronousExecute.
Return Value: An UtilityNetworkValidationJob to validate network topology.