ArcGIS Pro 2.7 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 geodatabase-related exception has occurred.
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.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Version Class
Version Members