SyncContext.NewAnchor Property

Gets or sets a SyncAnchor object that defines the upper bound for the set of changes to be synchronized during the current session.

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

Syntax

'Declaration
Public Property NewAnchor As SyncAnchor
    Get
    Set
'Usage
Dim instance As SyncContext
Dim value As SyncAnchor

value = instance.NewAnchor

instance.NewAnchor = value
public SyncAnchor NewAnchor { get; set; }
public:
property SyncAnchor^ NewAnchor {
    SyncAnchor^ get ();
    void set (SyncAnchor^ value);
}
member NewAnchor : SyncAnchor with get, set
function get NewAnchor () : SyncAnchor
function set NewAnchor (value : SyncAnchor)

Property Value

Type: Microsoft.Synchronization.Data.SyncAnchor
A SyncAnchor object that defines the upper bound for the set of changes to be synchronized during the current session.

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 section "Determining Which Data Changes to Download to a Client" in Tracking Changes in the Server Database.

See Also

Reference

SyncContext Class

Microsoft.Synchronization.Data Namespace