SyncKnowledge::GetKnowledgeForChangeUnit Method
Gets the knowledge for the specified change unit.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
public:
SyncKnowledge^ GetKnowledgeForChangeUnit(
SyncId^ itemId,
SyncId^ changeUnitId
)
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::SyncKnowledgeThe knowledge for the specified change unit.
| 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: