Share via


SyncContext Class

Encapsulates data changes and anchor values and other metadata for a synchronization session.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Data.SyncContext

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

Syntax

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

The SyncContext type exposes the following members.

Constructors

  Name Description
Public method SyncContext Initializes a new instance of the SyncContext class.

Top

Properties

  Name Description
Public property BatchCount Gets or sets the number of batches that are required to synchronize a group of tables.
Public property DataSet Gets or sets a DataSet object that contains the rows of data selected from the server database.
Public property GroupProgress Gets or sets a SyncGroupProgress object that contains a set of progress statistics for a synchronization group.
Public property MaxAnchor Gets or sets a SyncAnchor object that represents the largest anchor value for a set of changes when changes synchronized in batches.
Public property NewAnchor Gets or sets a SyncAnchor object that defines the upper bound for the set of changes to be synchronized during the current session.
Public property OriginatorId Gets or sets the originator ID. This allows you to map the ClientId to a different value on the server.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

A SyncContext object is returned after applying or selecting changes on a remote server.

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