SyncKnowledge::ExcludeChangeUnit Method
Removes knowledge about the specified change unit from the knowledge.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
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.
| Exception | Condition |
|---|---|
| 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: