This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoDatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IC > ICheckInDataSynchronizer Interface > ICheckInDataSynchronizer.Synchronize Method (ArcObjects .NET 10.5 SDK) |
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,
VARIANT_BOOL* conflictsDetected
);
[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 VARIANT_BOOL createOIDMappingTable [in] createOIDMappingTable is a parameter of type VARIANT_BOOL conflictsDetected [out, retval] conflictsDetected is a parameter of type VARIANT_BOOL
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.
ICheckInDataSynchronizer Interface | ICheckIn Interface | ICheckIn.CheckInFromGDB Method