SyncAnchor Class

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

Inheritance Hierarchy


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


<SerializableAttribute> _
Public Class SyncAnchor
Dim instance As SyncAnchor
public class SyncAnchor
public ref class SyncAnchor
type SyncAnchor =  class end
public class SyncAnchor

The SyncAnchor type exposes the following members.


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



  Name Description
Public property Anchor Gets or sets the anchor value in the form of a byte array.



  Name Description
Public method Equals(Object) (Inherited from Object.)
Public method Equals(SyncAnchor) Determines whether two SyncAnchor objects are equal to each other.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IsNull Determines whether a SyncAnchor is null.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (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.

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


Microsoft.Synchronization.Data Namespace