Share via


ClientSyncProvider Class

Abstracts a client synchronization provider that communicates with the client data store and shields the synchronization agent from the specific implementation of the data store.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.SyncProvider
    Microsoft.Synchronization.Data.ClientSyncProvider
      Microsoft.Synchronization.Data.SqlServerCe.SqlCeClientSyncProvider

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

Syntax

'Declaration
Public MustInherit Class ClientSyncProvider _
    Inherits SyncProvider _
    Implements IDisposable
'Usage
Dim instance As ClientSyncProvider
public abstract class ClientSyncProvider : SyncProvider, 
    IDisposable
public ref class ClientSyncProvider abstract : public SyncProvider, 
    IDisposable
[<AbstractClassAttribute>]
type ClientSyncProvider =  
    class
        inherit SyncProvider
        interface IDisposable
    end
public abstract class ClientSyncProvider extends SyncProvider implements IDisposable

The ClientSyncProvider type exposes the following members.

Constructors

  Name Description
Protected method ClientSyncProvider Initializes a new instance of the ClientSyncProvider class.

Top

Properties

  Name Description
Public property ClientId When overridden in a derived class, gets or sets the GUID that Synchronization Services uses to identify the client database.

Top

Methods

  Name Description
Public method ApplyChanges When overridden in a derived class, applies inserts, updates, and deletes for a synchronization group to the client database when given group metadata, a data set, and synchronization session parameters.
Public method BeginTransaction When overridden in a derived class, called by the SyncAgent to begin a transaction. This allows the agent to commit a set of changes as an atomic unit.
Public method CreateSchema When overridden in a derived class, creates a table schema at the client database if the schema does not exist.
Public method Dispose Releases all resources that are used by the ClientSyncProvider.
Public method EndTransaction When overridden in a derived class, called by the SyncAgent to end a transaction. This allows the agent to commit a set of changes as an atomic unit.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetChanges When overridden in a derived class, gets inserts, updates, and deletes for the specified synchronization group and session that occurred at the client since the last time Synchronize or AcceptChanges was called.
Public method GetHashCode (Inherited from Object.)
Public method GetTableReceivedAnchor When overridden in a derived class, gets a SyncAnchor object that contains the time that the last change was received from the server.
Public method GetTableSentAnchor When overridden in a derived class, gets a SyncAnchor object that contains the time that the last change was sent from the client.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetTableReceivedAnchor When overridden in a derived class, sets a SyncAnchor object that contains the time that the last change was received from the server.
Public method SetTableSentAnchor When overridden in a derived class, sets a SyncAnchor object that contains the time that the last change was sent from the client.
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