SyncAnchor Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Data.SyncAnchor

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class SyncAnchor
'Usage
Dim instance As SyncAnchor
[SerializableAttribute]
public class SyncAnchor
[SerializableAttribute]
public ref class SyncAnchor
[<SerializableAttribute>]
type SyncAnchor =  class end
public class SyncAnchor

The SyncAnchor type exposes the following members.

Constructors

  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.

Top

Properties

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

Top

Methods

  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.)

Top

Remarks

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

Reference

Microsoft.Synchronization.Data Namespace