DbSyncContext Class

Encapsulates data changes and metadata for a synchronization session.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Data.DbSyncContext

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

Syntax

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

The DbSyncContext type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property BatchFileName Gets or sets the name of the file to which spooled changes are written.
Public property DataSet Gets or sets a DataSet object that contains the selected rows from the peer database.
Public property IsDataBatched Gets or sets whether data is sent in multiple batches or in a single DataSet object.
Public property IsLastBatch Gets or sets whether the current batch is the last batch of changes.
Public property IsPeerOutdated Gets or sets whether a peer is outdated, which means that the peer does not have sufficient metadata to correctly synchronize.
Public property MadeWithForgottenKnowledge Gets or sets a SyncKnowledge object that contains the forgotten knowledge that the peer had when the set of changes was selected from the peer database.
Public property MadeWithKnowledge Gets or sets a SyncKnowledge object that contains the knowledge that the peer had when the set of changes was selected from the peer database.
Public property ScopeProgress Gets or sets a DbSyncScopeProgress object that contains a set of progress statistics for a synchronization scope.

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

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