SyncKnowledge::RemoveMarker Method

Removes a marker of the specified type from the specified item.

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

public:
void RemoveMarker(
	MarkerType markerType, 
	SyncId^ itemId
)

Parameters

markerType
Type: Microsoft.Synchronization::MarkerType
The type of marker to remove.
itemId
Type: Microsoft.Synchronization::SyncId
The ID of the item to be looked up.

ExceptionCondition
ArgumentOutOfRangeException

markerType is not a valid value.

InvalidKnowledgeVersionException

The CompatibilityLevel property is less than SyncFrameworkVersion2.

SyncIdFormatMismatchException

itemId is not in the ID format specified for this knowledge object.

InvalidKnowledgeMarkerException

The knowledge object contains items that are marked with a type of marker other than markerType.

Show: