ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data Namespace / Version Class / Reconcile Method / Reconcile(ReconcileOptions,PartialPostOptions) Method
If ReconcileOptions.TargetVersion is not specified in reconcileOptions, then the target version is the Default version.
Example

In This Topic
    Reconcile(ReconcileOptions,PartialPostOptions) Method
    In This Topic
    Reconciles and partial posts this version against a target version specified in reconcileOptions and partialPostOptions. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax

    Parameters

    reconcileOptions
    If ReconcileOptions.TargetVersion is not specified in reconcileOptions, then the target version is the Default version.
    partialPostOptions

    Return Value

    An instance of ReconcileResult indicating the results of the operation.
    Exceptions
    ExceptionDescription
    reconcileOptions and/or partialPostOptions 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.

    Reconcile cannot be performed in an active edit session.
    A geodatabase-related exception has occurred.
    This method or property must be called within the lambda passed to QueuedTask.Run
    Remarks
    After the partial posting operation is complete, the API will perform another Reconcile operation. This action may subsequently cause ReconcileResult.HasConflicts to be true.
    Example
    
    	
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also