This document is archived and information here might be outdated.  Recommended version.


ICheckInDataSynchronizer.Synchronize Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IC > ICheckInDataSynchronizer Interface > ICheckInDataSynchronizer.Synchronize Method
ArcGIS Developer Help

ICheckInDataSynchronizer.Synchronize Method

Synchronizes the changes in the check-out geodatabase or delta database with the master geodatabase.

[Visual Basic .NET]
Public Function Synchronize ( _
    ByVal DataChanges As IDataChanges, _
    ByVal editVersionName As String, _
    ByVal ParentWorkspace As IWorkspaceName, _
    ByVal reconcileCheckout As Boolean, _
    ByVal createOIDMappingTable As Boolean _
) As Boolean
[C#]
public bool Synchronize (
    IDataChanges DataChanges,
    string editVersionName,
    IWorkspaceName ParentWorkspace,
    bool reconcileCheckout,
    bool createOIDMappingTable
);
[C++]
HRESULT Synchronize(
  IDataChanges* DataChanges,
  BSTR editVersionName,
  IWorkspaceName* ParentWorkspace,
  VARIANT_BOOL reconcileCheckout,
  VARIANT_BOOL createOIDMappingTable
);
[C++]
Parameters
DataChanges [in]

DataChanges is a parameter of type IDataChanges* editVersionName [in]
editVersionName is a parameter of type BSTR ParentWorkspace [in]
ParentWorkspace is a parameter of type IWorkspaceName* reconcileCheckout [in]
reconcileCheckout is a parameter of type bool createOIDMappingTable [in]
createOIDMappingTable is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The Synchronize method transfers the changes from a check-out geodatabase (either personal, file, or ArcSDE) or a delta file to a parent replica (previously referred to as a master geodatabase). It does not unregister the check-out.

If reconcileCheckout is TRUE, the changes are applied to the check-out version and this version is reconciled with it�s parent version. If reconcileCheckout is FALSE, the changes are applied to the check-out version, but no reconcile is performed.

The editVersionName is the check-out version.

The method returns a boolean value, which like the IGeoDBDataCheckin::Checkin method , returns True if there were conflicts on check in and False otherwise.

NOTE: It is recommended that you use ICheckin interface to check in changes instead of this interface.

See Also

ICheckInDataSynchronizer Interface | ICheckIn Interface | ICheckIn.CheckInFromGDB Method