SimpleSyncProvider Class

Represents a simple provider that is used to synchronize a replica. You will typically extend FullEnumerationSimpleSyncProvider or AnchorEnumerationSimpleSyncProvider.

Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in microsoft.synchronization.simpleproviders.dll)

Syntax

'Declaration
Public MustInherit Class SimpleSyncProvider
    Inherits SyncProvider
'Usage
Dim instance As SimpleSyncProvider
public abstract class SimpleSyncProvider : SyncProvider
public ref class SimpleSyncProvider abstract : public SyncProvider
public abstract class SimpleSyncProvider extends SyncProvider
public abstract class SimpleSyncProvider extends SyncProvider

Remarks

The simple provider API is designed primarily for two types of replicas:

  • Replicas that do not support any kind of change tracking. This type of replica uses a full enumeration provider (FullEnumerationSimpleSyncProvider), which enumerates all items from the source replica every time synchronization occurs.

  • Replicas that support anchor-based change tracking. This type of replica uses an anchor-based provider (AnchorEnumerationSimpleSyncProvider), which enumerates the items from the source replica that changed after a specific anchor was set, which is typically a point in time.

For more information about simple providers, see How to: Create a Managed Simple Provider. For more information about custom providers in general, see Custom Provider Fundamentals, especially the section "Deciding Between a Simple Provider and a Standard Provider".

Inheritance Hierarchy

System.Object
   Microsoft.Synchronization.SyncProvider
    Microsoft.Synchronization.SimpleProviders.SimpleSyncProvider
       Microsoft.Synchronization.SimpleProviders.AnchorEnumerationSimpleSyncProvider
       Microsoft.Synchronization.SimpleProviders.FullEnumerationSimpleSyncProvider

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

SimpleSyncProvider Members
Microsoft.Synchronization.SimpleProviders Namespace