ISimpleSyncServices Interface

Represents a set of services that are designed for replicas that use a simple provider.

interface ISimpleSyncServices : IUnknown

Members

ISimpleSyncServices method Description

ISimpleSyncServices::Initialize

Initializes an ISimpleSyncServices object with metadata and replica information.

ISimpleSyncServices::ResetLocalOnlyDeletes

Resets metadata so that the next time a replica serves as a source local deletes are enumerated again and propagated as normal deletes.

ISimpleSyncServices::RemoveItemFromReplica

Removes metadata for an item from a replica, but not the item itself. The item will be re-enumerated as a newly created item during a subsequent synchronization session.

ISimpleSyncServices::BeginRemoveItemsFromReplica

Starts a transaction in which items can be removed by calling RemoveItemFromReplica.

ISimpleSyncServices::EndRemoveItemsFromReplica

Ends a transaction in which items were removed by calling RemoveItemFromReplica.

ISimpleSyncServices::CleanupDeletedItems

Calls a cleanup operation to remove from the metadata store any metadata that is associated with deleted items.

ISimpleSyncServices::EnumerateAllLiveItems

Enumerates all items for a replica that have not been deleted, either by using a normal delete or a local delete.

ISimpleSyncServices::IsItemLastModifiedLocally

Returns whether an item was last modified on the local replica.

ISimpleSyncServices::SerializeReplicaMetadata

Serializes the contents of a metadata storage service store to a destination file in a canonical format.

ISimpleSyncServices::DeserializeReplicaMetadata

Deserializes the contents of a canonical metadata file to a metadata storage service store.

ISimpleSyncServices::GetSerializedReplicaInfo

Gets information about serialized metadata, such as the ID of the replica with which it is associated.

Requirements

Header: FullEnumerationProvider.h

See Also

Concepts

Sync Framework Simple Provider Components