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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |
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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |