Share via


IReplicaMetadata2::FindItemMetadataByMergeWinnerId

Returns a list of item metadata entries that represent merge tombstones that have the specified value for their merge winner ID property.

HRESULT FindItemMetadataByMergeWinnerId(
  const BYTE * pbMergeWinnerId,
  IItemMetadataEnumerator ** ppItemMetadataEnumerator);

Parameters

  • pbMergeWinnerId
    [in] Merge tombstones in the returned list will have this value for their merge winner ID property.
  • ppItemMetadataEnumerator
    [out] Returns a list of merge tombstones that have pbMergeWinnerId for their merge winner ID property.

Return Value

  • S_OK

  • E_OUTOFMEMORY

  • E_POINTER

Remarks

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.

If no items that have the specified merge winner ID value exist, an empty enumerator is returned.

See Also

Reference

IReplicaMetadata2 Interface