ItemMetadata::SetChangeUnitVersion Method
When overridden in a derived class, sets the version of a change unit that is contained in this item.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
public: virtual void SetChangeUnitVersion( SyncId^ changeUnitId, SyncVersion^ changeUnitVersion ) abstract
Parameters
- changeUnitId
- Type: Microsoft.Synchronization::SyncId
The ID of the change unit.
- changeUnitVersion
- Type: Microsoft.Synchronization::SyncVersion
The version of the change unit.
| 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: