SyncKnowledge.GetKnowledgeForItem Method

Gets the knowledge for the specified item.

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

Syntax

'Declaration
Public Function GetKnowledgeForItem ( _
    itemId As SyncId _
) As SyncKnowledge
'Usage
Dim instance As SyncKnowledge
Dim itemId As SyncId
Dim returnValue As SyncKnowledge

returnValue = instance.GetKnowledgeForItem(itemId)
public SyncKnowledge GetKnowledgeForItem(
    SyncId itemId
)
public:
SyncKnowledge^ GetKnowledgeForItem(
    SyncId^ itemId
)
member GetKnowledgeForItem : 
        itemId:SyncId -> SyncKnowledge 
public function GetKnowledgeForItem(
    itemId : SyncId
) : SyncKnowledge

Parameters

Return Value

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

Exceptions

Exception Condition
InvalidOperationException

This SyncKnowledge object is not initialized.

ArgumentNullException

itemId is a null reference (Nothing in Visual Basic).

SyncIdFormatMismatchException

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

See Also

Reference

SyncKnowledge Class

Microsoft.Synchronization Namespace