DeleteDetector.FindUnreportedItems Method

When overridden in a derived class, returns a list of items that are not currently marked as active in the metadata store and that are not already marked as deleted.

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

Syntax

'Declaration
Public MustOverride Function FindUnreportedItems As IEnumerable(Of ItemMetadata)
'Usage
Dim instance As DeleteDetector
Dim returnValue As IEnumerable(Of ItemMetadata)

returnValue = instance.FindUnreportedItems()
public abstract IEnumerable<ItemMetadata> FindUnreportedItems()
public:
virtual IEnumerable<ItemMetadata^>^ FindUnreportedItems() abstract
abstract FindUnreportedItems : unit -> IEnumerable<ItemMetadata> 
public abstract function FindUnreportedItems() : IEnumerable<ItemMetadata>

Return Value

Type: System.Collections.Generic.IEnumerable<ItemMetadata>
A list of items that are not currently marked as active in the metadata store and that are not already marked as deleted. When no items exist, an empty collection is returned.

Remarks

An item is marked as active in the metadata store when ReplicaMetadata.SaveItemMetadata or ReportLiveItemByIndexedFields was called for an unchanged but still active item.

See Also

Reference

DeleteDetector Class

Microsoft.Synchronization.MetadataStorage Namespace