ChangeUnitVersionDefinition Class

Represents the set of fields that the Sync Framework runtime uses to determine whether a change unit's version should be updated.

System.Object
  Microsoft.Synchronization.SimpleProviders.ChangeUnitVersionDefinition

Namespace:  Microsoft.Synchronization.SimpleProviders
Assembly:  Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)

public class ChangeUnitVersionDefinition

The ChangeUnitVersionDefinition type exposes the following members.

  NameDescription
Public methodChangeUnitVersionDefinitionInitializes a new instance of the ChangeUnitVersionDefinition class that contains the specified ID format, change unit ID, and version field ID.
Top

  NameDescription
Public propertyChangeUnitIdGets a SyncId object that contains the ID of the change unit to which the version definition applies.
Public propertyVersionFieldIdsGets a collection of integers that comprise the version fields of the specified change unit.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

This class is required only if your application requires change unit detection and synchronization. A change unit represents a sub-item change, such as the telephone number field in an item that represents a contact. If changes are synchronized at the level of a change unit instead of an item, Sync Framework must be able to identify the change unit in the item store and map that identity to an internal ID in the metadata store. It must also be able to determine if the change unit version has changed since the last synchronization session. If the version has changed and the destination replica does not already contain that version of a change unit, the change unit should be synchronized. For more information about simple provider metadata, see Managing Metadata for Simple Providers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: