Show / Hide Table of Contents

Method ValidateNetworkTopology

ValidateNetworkTopology(Envelope)

Returns a job that when started will validate the utility network topology within the provided extent.

Declaration
public UtilityNetworkValidationJob ValidateNetworkTopology(Envelope extent)
Parameters
Type Name Description
Envelope extent

The extent of the area to be validated.

Returns
Type Description
UtilityNetworkValidationJob

A UtilityNetworkValidationJob to validate network topology.

Remarks

This is a second overload method for ValidateNetworkTopology(Envelope, GeoprocessingExecutionType). Given that GeoprocessingExecutionType is not specified, the default is GeoprocessingExecutionType.synchronousExecute.

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.

See Also
SupportsValidateNetworkTopology

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.8
.NET200.3 - 200.8
.NET Windows200.3 - 200.8
.NET Android200.3 - 200.8
.NET iOS200.3 - 200.8
.NET Framework200.3 - 200.8
UWP200.3 - 200.8

ValidateNetworkTopology(Envelope, GeoprocessingExecutionType)

Returns a job that when started will validate the utility network topology within the provided extent.

Declaration
public UtilityNetworkValidationJob ValidateNetworkTopology(Envelope extent, GeoprocessingExecutionType geoprocessingExecutionType)
Parameters
Type Name Description
Envelope extent

The extent of the area to be validated.

GeoprocessingExecutionType geoprocessingExecutionType

A GeoprocessingExecutionType indicating the job execution type. The value passed in must be either AsynchronousSubmit or SynchronousExecute.

Running with GeoprocessingExecutionType of SynchronousExecute is the preferred execution mode due to this mode being significantly faster to start up. For larger jobs SynchronousExecute can lead to timeouts, at which point AsynchronousSubmit should be used.

Returns
Type Description
UtilityNetworkValidationJob

A UtilityNetworkValidationJob to validate network topology.

Remarks

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.

See Also
SupportsValidateNetworkTopology

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.8
.NET200.3 - 200.8
.NET Windows200.3 - 200.8
.NET Android200.3 - 200.8
.NET iOS200.3 - 200.8
.NET Framework200.3 - 200.8
UWP200.3 - 200.8
In This Article
Back to top Copyright © 2022 Esri.