共用方式為


SyncKnowledge.RemoveAllChangeUnitsMarkers 方法

移除知識中項目的所有標記。

命名空間: Microsoft.Synchronization
組件: Microsoft.Synchronization (在 microsoft.synchronization.dll)

語法

'宣告
Public Sub RemoveAllChangeUnitsMarkers
'用途
Dim instance As SyncKnowledge

instance.RemoveAllChangeUnitsMarkers
public void RemoveAllChangeUnitsMarkers ()
public:
void RemoveAllChangeUnitsMarkers ()
public void RemoveAllChangeUnitsMarkers ()
public function RemoveAllChangeUnitsMarkers ()

例外

例外狀況型別 條件

InvalidKnowledgeVersionException

CompatibilityLevel 屬性小於 SyncFrameworkVersion2

備註

SyncKnowledge 物件只能包含一種類型的標記。若要變更知識物件中包含之標記的類型,必須在加入新標記之前,呼叫 RemoveAllChangeUnitsMarkers

請參閱

參考

SyncKnowledge 類別
SyncKnowledge 成員
Microsoft.Synchronization 命名空間