SyncAnchor Class

Encapsulates a synchronization anchor. An anchor provides a reference point to determine which changes to synchronize for a synchronization group.


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

public class SyncAnchor

The SyncAnchor type exposes the following members.

Public methodSyncAnchor()Initializes a new instance of the SyncAnchor class by using default values.
Public methodSyncAnchor(Byte[])Initializes a new instance of the SyncAnchor class by using an anchor parameter.
Public methodSyncAnchor(SyncAnchor)Initializes a new instance of the SyncAnchor class by using an existing SyncAnchor object as a parameter.

Public propertyAnchorGets or sets the anchor value in the form of a byte array.

Public methodEquals(Object) (Inherited from Object.)
Public methodEquals(SyncAnchor)Determines whether two SyncAnchor objects are equal to each other.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsNullDetermines whether a SyncAnchor is null.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

During the current synchronization, the new anchor command provides a new anchor value. Changes that are made after the last received anchor value and before the new received anchor value are synchronized. The new received anchor is then stored and used as the last received anchor value for the next synchronization. For more information, see the "Determining Which Data Changes to Download to a Client" section of Tracking Changes in the Server Database.

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