Dela via


ChangeUnitVersionDefinition Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.SimpleProviders.ChangeUnitVersionDefinition

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

Syntax

'Declaration
Public Class ChangeUnitVersionDefinition
'Usage
Dim instance As ChangeUnitVersionDefinition
public class ChangeUnitVersionDefinition
public ref class ChangeUnitVersionDefinition
type ChangeUnitVersionDefinition =  class end
public class ChangeUnitVersionDefinition

The ChangeUnitVersionDefinition type exposes the following members.

Constructors

  Name Description
Public method ChangeUnitVersionDefinition Initializes a new instance of the ChangeUnitVersionDefinition class that contains the specified ID format, change unit ID, and version field ID.

Top

Properties

  Name Description
Public property ChangeUnitId Gets a SyncId object that contains the ID of the change unit to which the version definition applies.
Public property VersionFieldIds Gets a collection of integers that comprise the version fields of the specified change unit.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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.

Thread Safety

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

See Also

Reference

Microsoft.Synchronization.SimpleProviders Namespace