ItemMetadata::GetChangeUnitVersion Method
When overridden in a derived class, gets the version of a change unit that is contained in the item.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
Parameters
- changeUnitId
- Type: Microsoft.Synchronization::SyncId
The ID of the change unit.
Return Value
Type: Microsoft.Synchronization::SyncVersionThe version of a change unit that is contained in this item.
| Exception | Condition |
|---|---|
| ArgumentNullException | changeUnitId is a nullptr. |
| InvalidOperationException | The item is marked as deleted. |
| SyncIdFormatMismatchException | The format of changeUnitId does not match the format that is specified in SyncIdFormatGroup from the provider. |
Show: