SyncContext.MaxAnchor Property

Gets or sets a SyncAnchor object that represents the largest anchor value for a set of changes when changes synchronized in batches.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
Public Property MaxAnchor As SyncAnchor
public SyncAnchor MaxAnchor { get; set; }
public:
property SyncAnchor^ MaxAnchor {
    SyncAnchor^ get ();
    void set (SyncAnchor^ value);
}
/** @property */
public SyncAnchor get_MaxAnchor ()

/** @property */
public void set_MaxAnchor (SyncAnchor value)
public function get MaxAnchor () : SyncAnchor

public function set MaxAnchor (value : SyncAnchor)

Property Value

A SyncAnchor object that represents the largest anchor value for a set of changes.

Remarks

Synchronization Services enables applications to download batches of changes to the client (batching is not supported on upload). Batching is enabled by specifying a value for the BatchSize property, and creating a command for the SelectNewAnchorCommand property that can return anchor values for each batch of changes.

The maximum anchor value is used to batch changes during the download from the server to the client. When the maximum anchor value is equal to NewAnchor, the final batch has been processed. For more information, see How to: Specify the Order and Batch Size of Changes.

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SyncContext Class
SyncContext Members
Microsoft.Synchronization.Data Namespace