Sdílet prostřednictvím


SimpleSyncProvider Members

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

The following tables list the members exposed by the SimpleSyncProvider type.

Protected Constructors

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

Top

Public Properties

  Name Description
Public property Configuration When overridden in a derived class, gets a KnowledgeSyncProviderConfiguration object that represents configuration information for a provider, such as the conflict resolution policy.
Public property DestinationCallbacks When overridden in a derived class, gets a SyncCallbacks object that is used to dispatch a synchronization event.
Public property IdFormats When overridden in a derived class, gets a SyncIdFormatGroup object that represents the format of replica and item IDs.
Public property MetadataSchema When overridden in a derived class, gets an ItemMetadataSchema object that represents the metadata schema for an item.
Public property ProviderVersion When overridden in a derived class, gets the version number for the simple provider.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method BeginSession When overridden in a derived class, called by the Sync Framework runtime at the start of each session.
Public method DeleteItem When overridden in a derived class, called by the Sync Framework runtime to delete an item from the destination store.
Public method EndSession When overridden in a derived class, called by the Sync Framework runtime at the end of each session unless a session is terminated because of an exception.
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetHashCode  (Inherited from Object.)
Public method GetMetadataStore When overridden in a derived class, called by the Sync Framework runtime to return a MetadataStore object for a replica.
Public method GetType  (Inherited from Object.)
Public method InsertItem When overridden in a derived class, called by the Sync Framework runtime to insert an item into the destination store.
Public method LoadChangeData When overridden in a derived class, called by the Sync Framework runtime to load the change data for the item with the specified key.
Public method OnChangeDetectionCompleted When overridden in a derived class, raises the ChangeDetectionCompleted event.
Public method OnItemConflicting When overridden in a derived class, raises the ItemConflicting event.
Public method OnItemConstraint When overridden in a derived class, raises the ItemConstraint event.
Public method OnMetadataStoreInitialized When overridden in a derived class, raises the MetadataStoreInitialized event.
Public method Dd936903.static(en-us,SQL.105).gif ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)
Public method UpdateItem When overridden in a derived class, called by the Sync Framework runtime to update an item in the destination store.

Top

Protected Methods

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)

Top

Public Events

  Name Description
Public event ChangeDetectionCompleted Occurs when change detection is complete for a source provider.
Public event ItemConflicting Occurs when Sync Framework detects that an item being processed is involved in a concurrency conflict.
Public event ItemConstraint Occurs when Sync Framework detects that an item being processed is involved in a constraint conflict.
Public event MetadataStoreInitialized Occurs when the metadata store that is associated with a provider is initialized.

Top

See Also

Reference

SimpleSyncProvider Class
Microsoft.Synchronization.SimpleProviders Namespace