SyncKnowledge::GetKnowledgeForItem Method

Gets the knowledge for the specified item.

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

public:
SyncKnowledge^ GetKnowledgeForItem(
	SyncId^ itemId
)

Parameters

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

Return Value

Type: Microsoft.Synchronization::SyncKnowledge
The knowledge for the specified item.

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: