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 | |
---|---|---|
ClientSyncProvider | Initializes a new instance of the ClientSyncProvider class. |
Top
Properties
Name | Description | |
---|---|---|
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 | |
---|---|---|
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. | |
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. | |
CreateSchema | When overridden in a derived class, creates a table schema at the client database if the schema does not exist. | |
Dispose | Releases all resources that are used by the ClientSyncProvider. | |
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. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
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. | |
GetHashCode | (Inherited from Object.) | |
GetTableReceivedAnchor | When overridden in a derived class, gets a SyncAnchor object that contains the time that the last change was received from the server. | |
GetTableSentAnchor | When overridden in a derived class, gets a SyncAnchor object that contains the time that the last change was sent from the client. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SetTableReceivedAnchor | When overridden in a derived class, sets a SyncAnchor object that contains the time that the last change was received from the server. | |
SetTableSentAnchor | When overridden in a derived class, sets a SyncAnchor object that contains the time that the last change was sent from the client. | |
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.