SyncKnowledge::ExcludeItem Method

Removes knowledge about the specified item from the knowledge.

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

public:
void ExcludeItem(
	SyncId^ itemId
)

Parameters

itemId
Type: Microsoft.Synchronization::SyncId
The ID of the item to exclude.

ExceptionCondition
InvalidOperationException

This SyncKnowledge object is not initialized.

ArgumentNullException

itemId is a nullptr.

SyncIdFormatMismatchException

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

Show: