SyncKnowledge.RemoveAllChangeUnitsMarkers Method

Removes all markers for items in the knowledge.

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

Syntax

'Declaration
Public Sub RemoveAllChangeUnitsMarkers
'Usage
Dim instance As SyncKnowledge

instance.RemoveAllChangeUnitsMarkers()
public void RemoveAllChangeUnitsMarkers()
public:
void RemoveAllChangeUnitsMarkers()
member RemoveAllChangeUnitsMarkers : unit -> unit 
public function RemoveAllChangeUnitsMarkers()

Exceptions

Exception Condition
InvalidKnowledgeVersionException

The CompatibilityLevel property is less than SyncFrameworkVersion2.

InvalidOperationException

This SyncKnowledge object is not initialized.

Remarks

A SyncKnowledge object can contain markers of only one type. To change the type of markers that are contained in the knowledge object, RemoveAllChangeUnitsMarkers must be called before new markers are added.

See Also

Reference

SyncKnowledge Class

Microsoft.Synchronization Namespace