SyncKnowledge.GetKnowledgeForChangeUnit Method
Gets the knowledge for the specified change unit.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Function GetKnowledgeForChangeUnit ( _
itemId As SyncId, _
changeUnitId As SyncId _
) As SyncKnowledge
'Usage
Dim instance As SyncKnowledge
Dim itemId As SyncId
Dim changeUnitId As SyncId
Dim returnValue As SyncKnowledge
returnValue = instance.GetKnowledgeForChangeUnit(itemId, _
changeUnitId)
public SyncKnowledge GetKnowledgeForChangeUnit(
SyncId itemId,
SyncId changeUnitId
)
public:
SyncKnowledge^ GetKnowledgeForChangeUnit(
SyncId^ itemId,
SyncId^ changeUnitId
)
member GetKnowledgeForChangeUnit :
itemId:SyncId *
changeUnitId:SyncId -> SyncKnowledge
public function GetKnowledgeForChangeUnit(
itemId : SyncId,
changeUnitId : SyncId
) : SyncKnowledge
Parameters
- itemId
Type: Microsoft.Synchronization.SyncId
The ID of the item that contains the change unit to look up.
- changeUnitId
Type: Microsoft.Synchronization.SyncId
The ID of the change unit to look up.
Return Value
Type: Microsoft.Synchronization.SyncKnowledge
The knowledge for the specified change unit.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This SyncKnowledge object is not initialized. |
ArgumentNullException | itemId or changeUnitId is a null reference (Nothing in Visual Basic). |
SyncIdFormatMismatchException | itemId or changeUnitId is not in the ID format specified for this knowledge object or has a different variable length setting. |