Dela via


SimpleSyncServices Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.SimpleProviders.SimpleSyncServices

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

Syntax

'Declaration
Public Class SimpleSyncServices
'Usage
Dim instance As SimpleSyncServices
public class SimpleSyncServices
public ref class SimpleSyncServices
type SimpleSyncServices =  class end
public class SimpleSyncServices

The SimpleSyncServices type exposes the following members.

Constructors

  Name Description
Public method SimpleSyncServices Initializes a new instance of the SimpleSyncServices class that contains ID formats, a metadata store with a culture setting, a replica ID, and a provider version.

Top

Methods

  Name Description
Public method BeginRemoveItemsFromReplica Starts a transaction in which items can be removed by calling RemoveItemFromReplica. This method must be called before RemoveItemFromReplica is called.
Public method CleanupDeletedItems Calls a cleanup operation to remove from the metadata store any metadata that is associated with deleted items.
Public method DeserializeReplicaMetadata Deserializes the contents of a canonical metadata file to a metadata storage service store.
Public method EndRemoveItemsFromReplica Ends a transaction in which items were removed by calling RemoveItemFromReplica.
Public method EnumerateAllLiveItems Enumerates all items for a replica that have not been deleted, either by using a normal delete or a local delete.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetSerializedReplicaInfo Gets information about serialized metadata, such as the ID of the replica with which it is associated.
Public method GetType (Inherited from Object.)
Public method IsItemLastModifiedLocally Returns whether an item was last modified on the local replica.
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveItemFromReplica Removes metadata for an item from a replica, but not the item itself.
Public method ResetLocalOnlyDeletes Resets metadata so that the next time a replica serves as a source local deletes are enumerated again and propagated as normal deletes.
Public method SerializeReplicaMetadata Serializes the contents of a metadata storage service store to a destination file in a canonical format.
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.SimpleProviders Namespace