ReplicaMetadata::FindItemMetadataByMergeWinnerId Method

When overridden in a derived class, returns a list of item metadata entries that represent merge tombstones that have the specified value for their merge winner ID property.

Namespace:  Microsoft.Synchronization.MetadataStorage
Assembly:  Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)

public:
virtual IEnumerable<ItemMetadata^>^ FindItemMetadataByMergeWinnerId(
	SyncId^ globalId
) abstract

Parameters

globalId
Type: Microsoft.Synchronization::SyncId
Merge tombstones in the returned list will have this value for their merge winner ID property.

Return Value

Type: System.Collections.Generic::IEnumerable<ItemMetadata>
A list of item metadata entries that represent merge tombstones that have the specified value for their merge winner ID property. An empty collection is returned when no items exist.

ExceptionCondition
ArgumentNullException

globalId is a nullptr.

SyncIdFormatMismatchException

globalId is not of the correct format.

A merge tombstone represents an item that was merged into another item to resolve a constraint conflict. The merge winner ID is the item ID of the item that contains the merged data.

Show: