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.
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.
| Exception | Condition |
|---|---|
| ArgumentNullException | globalId is a nullptr. |
| SyncIdFormatMismatchException | globalId is not of the correct format. |
Show: