Udostępnij za pośrednictwem


ISyncMergeTombstoneChange Interface

Represents additional information about an ISyncChange object that represents a merge tombstone.

interface ISyncMergeTombstoneChange : IUnknown

Members

ISyncMergeTombstoneChange method Description

ISyncMergeTombstoneChange::GetWinnerItemId

Gets the item ID that is used to identify the merged item in the synchronization community.

Remarks

To obtain an ISyncMergeTombstoneChange object, pass IID_ISyncMergeTombstoneChange to the QueryInterface method of an ISyncChange object.

A merge tombstone is created when a constraint conflict is resolved by merging the two items in conflict. When a constraint conflict is resolved by merging, the smaller of the item IDs is chosen as the winning item ID and the larger is the losing item ID. The winning item ID is used to identify the merged item. The merge tombstone tracks that the losing item ID identifies the same item as the winning item ID in the synchronization community. The metadata for a merge tombstone is the same as that for a deleted item tombstone, with the addition of the winning item ID.

Requirements

Header: Synchronization.h

See Also

Concepts

Sync Framework Core Components
Detecting and Resolving Constraint Conflicts