ArcGIS Pro 2.8 API Reference Guide
Reconcile Method

ArcGIS.Core.Data Namespace > Version Class : Reconcile Method
If ReconcileDescription.TargetVersion is not specified in reconcileDescription, then the target version is the Default version.
Reconciles this version against a target version specified in reconcileDescription. This method must be called on the MCT. Use QueuedTask.Run.
Syntax

Parameters

reconcileDescription
If ReconcileDescription.TargetVersion is not specified in reconcileDescription, then the target version is the Default version.

Return Value

An instance of ReconcileResult indicating the results of the operation.
Exceptions
ExceptionDescription
reconcileDescription is null.

This operation is not supported in client-server mode because the data store supports multi-branch versioning.

-or-

Multi-branch versioning does not support a ConflictResolutionType that favors the target version.

A Selection object specified in ReconcileDescription.PartialPostSelections is not from a feature service feature class.
A geodatabase-related exception has occurred.
This method or property must be called within the lambda passed to QueuedTask.Run
Remarks
If the underlying data store supports branch versioning and partial posting, setting WithPost in reconcileDescription to true will cause this operation to post the data specified by ReconcileDescription.PartialPostSelections in reconcileDescription to the Default version. In addition, after the partial posting operation is complete, the API will perform another Reconcile operation. This action may subsequently cause ReconcileResult.HasConflicts to be true.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Version Class
Version Members