SyncKnowledge::ExcludeChangeUnit Method

Removes knowledge about the specified change unit from the knowledge.

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

public:
void ExcludeChangeUnit(
	SyncId^ itemId, 
	SyncId^ changeUnitId
)

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.

ExceptionCondition
InvalidOperationException

This SyncKnowledge object is not initialized.

ArgumentNullException

itemId or changeUnitId is a nullptr.

SyncIdFormatMismatchException

itemId or changeUnitId is not in the ID format specified for this knowledge object or has a different variable length setting.

Show: