Udostępnij za pośrednictwem


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
'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);
}
/** @property */
public SyncAnchor get_NewAnchor ()

/** @property */
public void set_NewAnchor (SyncAnchor value)
public function get NewAnchor () : SyncAnchor

public function set NewAnchor (value : SyncAnchor)

Property Value

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
SyncContext Members
Microsoft.Synchronization.Data Namespace