Share via


ISimpleSyncProviderConstraintConflictResolver::ModifyAndInsertRemoteItem

Renames the remote item so that it no longer conflicts with the local item name and inserts the remote item into the local replica.

HRESULT ModifyAndInsertRemoteItem(
  IUnknown *pItemData,
  const CHANGE_UNIT_SET *pChangeUnitsToCreate,
  IRecoverableErrorCallback *pRecoverableErrorCallback,
  ITEM_FIELDS **ppNewKeyAndVersionInfo);

Parameters

  • pItemData
    [in] Data for the item in a provider-specific format.
  • pChangeUnitsToCreate
    [in, unique] A collection of CHANGE_UNIT_SET objects that represent the set of change units to create during conflict resolution.
  • pRecoverableErrorCallback
    [in] An IRecoverableErrorCallback object that contains methods that can be called if a recoverable error occurs during conflict handling.
  • ppNewKeyAndVersionInfo
    [out] Returns the key and version properties that were created as a result of conflict resolution.

Return Value

  • S_OK

See Also

Reference

ISimpleSyncProviderConstraintConflictResolver Interface