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 | |
---|---|---|
SyncContext | Initializes a new instance of the SyncContext class. |
Top
Properties
Name | Description | |
---|---|---|
BatchCount | Gets or sets the number of batches that are required to synchronize a group of tables. | |
DataSet | Gets or sets a DataSet object that contains the rows of data selected from the server database. | |
GroupProgress | Gets or sets a SyncGroupProgress object that contains a set of progress statistics for a synchronization group. | |
MaxAnchor | Gets or sets a SyncAnchor object that represents the largest anchor value for a set of changes when changes synchronized in batches. | |
NewAnchor | Gets or sets a SyncAnchor object that defines the upper bound for the set of changes to be synchronized during the current session. | |
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 | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.