KnowledgeFragmentInspector::GetMarkers Method

Gets a list of item IDs that are marked with the specified marker type.

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

public:
ReadOnlyCollection<SyncId^>^ GetMarkers(
	MarkerType markerType
)

Parameters

markerType
Type: Microsoft.Synchronization::MarkerType
The item IDs that are returned are marked with this marker type.

Return Value

Type: System.Collections.ObjectModel::ReadOnlyCollection<SyncId>
A list of item IDs that are marked with the specified marker type.

A SyncKnowledge object typically contains markers when custom filters are in use. For example, if an item was excluded by the filter and tracked as a ghost in the destination replica, the filter changes so that the item moves into the filter and so must be applied to the destination replica. However, the item enumerated by the source provider does not contain all the change units for the item. The item is marked as requiring that all change units be included when the source provider adds the item to a change batch. The source provider detects that this marker is set for the item, and includes all change units for that item. The destination provider, and then creates a complete item and applies it to the destination replica.

A SyncKnowledge object can contain markers of only one type.

Show: