Delen via


SYNC_VERSION Structure

Represents a version for an item or a change unit.

typedef struct _SYNC_VERSION
{
  DWORD dwLastUpdatingReplicaKey;
  ULONGLONG ullTickCount;
} SYNC_VERSION;

Members

  • dwLastUpdatingReplicaKey
    The replica key that is associated with the version.
  • ullTickCount
    The tick count that is associated with the version.

Remarks

A change that is made directly to a replica, such as a change that is made by a local application, will not have a version for the change in the synchronization metadata. A version that is created for such a change must contain the following elements:

  • The replica key of the local replica. This will typically be 0.

  • The current value of the tick count of the local replica.

Requirements

Header: Synchronization.h

See Also

Reference

ISyncChangeUnit::GetChangeUnitVersion
ISyncChange::GetChangeVersion
ISyncChange::GetCreationVersion
ISyncChangeBuilder::AddChangeUnitMetadata
ISyncChangeBatchBase::AddItemMetadataToGroup
ISyncKnowledge::ContainsChange
ISyncKnowledge::ContainsChangeUnit
ISyncKnowledge::ConvertVersion
IForgottenKnowledge::ForgetToVersion
IEnumClockVector::Next
IFeedItemMetadataFilter::ShouldAddItemMetadata

Concepts

Sync Framework Core Components
Synchronization Versions