ReplicaMetadata.GetAllItems Method

When overridden in a derived class, gets all the items that are contained in the metadata store for this replica.

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

Syntax

'Declaration
Public MustOverride Function GetAllItems ( _
    shouldIncludeDeletedItems As Boolean _
) As IEnumerable(Of ItemMetadata)
'Usage
Dim instance As ReplicaMetadata
Dim shouldIncludeDeletedItems As Boolean
Dim returnValue As IEnumerable(Of ItemMetadata)

returnValue = instance.GetAllItems(shouldIncludeDeletedItems)
public abstract IEnumerable<ItemMetadata> GetAllItems(
    bool shouldIncludeDeletedItems
)
public:
virtual IEnumerable<ItemMetadata^>^ GetAllItems(
    bool shouldIncludeDeletedItems
) abstract
abstract GetAllItems : 
        shouldIncludeDeletedItems:bool -> IEnumerable<ItemMetadata> 
public abstract function GetAllItems(
    shouldIncludeDeletedItems : boolean
) : IEnumerable<ItemMetadata>

Parameters

  • shouldIncludeDeletedItems
    Type: System.Boolean
    true to include deleted items in the enumeration; otherwise, false.

Return Value

Type: System.Collections.Generic.IEnumerable<ItemMetadata>
All the items that are contained in the metadata store for this replica.

See Also

Reference

ReplicaMetadata Class

Microsoft.Synchronization.MetadataStorage Namespace