Share via


ItemMetadata.GetMergeWinnerId Method

When overridden in a derived class, gets the item ID that is used to identify the merged item in the synchronization community.

Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)

Syntax

'Declaration
Public MustOverride Function GetMergeWinnerId As SyncId
'Usage
Dim instance As ItemMetadata
Dim returnValue As SyncId

returnValue = instance.GetMergeWinnerId
public abstract SyncId GetMergeWinnerId ()
public:
virtual SyncId^ GetMergeWinnerId () abstract
public abstract SyncId GetMergeWinnerId ()
public abstract function GetMergeWinnerId () : SyncId

Return Value

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

Remarks

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. 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.

See Also

Reference

ItemMetadata Class
ItemMetadata Members
Microsoft.Synchronization.MetadataStorage Namespace