SyncKnowledge.ExcludeChangeUnit Method
Removes knowledge about the specified change unit from the knowledge.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub ExcludeChangeUnit ( _
itemId As SyncId, _
changeUnitId As SyncId _
)
'Usage
Dim instance As SyncKnowledge
Dim itemId As SyncId
Dim changeUnitId As SyncId
instance.ExcludeChangeUnit(itemId, changeUnitId)
public void ExcludeChangeUnit(
SyncId itemId,
SyncId changeUnitId
)
public:
void ExcludeChangeUnit(
SyncId^ itemId,
SyncId^ changeUnitId
)
member ExcludeChangeUnit :
itemId:SyncId *
changeUnitId:SyncId -> unit
public function ExcludeChangeUnit(
itemId : SyncId,
changeUnitId : SyncId
)
Parameters
- itemId
Type: Microsoft.Synchronization.SyncId
The ID of the item that contains the change unit to exclude.
- changeUnitId
Type: Microsoft.Synchronization.SyncId
The ID of the change unit to exclude.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This SyncKnowledge object is not initialized. |
ArgumentNullException | itemId or changeUnitId is a null reference (Nothing in Visual Basic). |
SyncIdFormatMismatchException | itemId or changeUnitId is not in the ID format specified for this knowledge object or has a different variable length setting. |