Export (0) Print
Expand All

SyncContext Class

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

System.Object
  Microsoft.Synchronization.Data.SyncContext

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

[SerializableAttribute]
public class SyncContext

The SyncContext type exposes the following members.

  NameDescription
Public methodSyncContextInitializes a new instance of the SyncContext class.
Top

  NameDescription
Public propertyBatchCountGets or sets the number of batches that are required to synchronize a group of tables.
Public propertyDataSetGets or sets a DataSet object that contains the rows of data selected from the server database.
Public propertyGroupProgressGets or sets a SyncGroupProgress object that contains a set of progress statistics for a synchronization group.
Public propertyMaxAnchorGets or sets a SyncAnchor object that represents the largest anchor value for a set of changes when changes synchronized in batches.
Public propertyNewAnchorGets or sets a SyncAnchor object that defines the upper bound for the set of changes to be synchronized during the current session.
Public propertyOriginatorIdGets or sets the originator ID. This allows you to map the ClientId to a different value on the server.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft