Share via


ReplicaMetadata Members

When overridden, provides access to the replica metadata and item metadata in the metadata store. ReplicaMetadata also provides services for delete detection and helpers for implementing synchronization provider methods.

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

Protected Constructors

  Name Description
Protected method ReplicaMetadata Initializes a new instance of the ReplicaMetadata class that contains the specified ID format schema and replica ID.

Top

Public Properties

  Name Description
Public property CustomReplicaMetadata When overridden in a derived class, gets or sets the custom metadata field that is associated with this replica.
Public property DeleteDetector When overridden in a derived class, an object that represents the delete detection service.
Public property IdFormats Gets the ID format schema for the replica.
Public property LastDeletedItemsCleanupTime When overridden in a derived class, gets the time when deleted items were last cleaned up by CleanupDeletedItems.
Public property ProviderVersion When overridden in a derived class, gets or sets the version of the provider that operates on this metadata.
Public property ReplicaId Gets the ID of the replica that is associated with this metadata.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method CleanupDeletedItems When overridden in a derived class, removes items that are marked as deleted and that are older than the last successful cleanup time.
Public method CreateItemMetadata When overridden in a derived class, creates a new item metadata object that can be used to add a new item metadata entry to the metadata store.
Public method Equals  Overloaded. (Inherited from Object.)
Public method ExcludeItemFromAllKnowledgeByGlobalId Removes knowledge about the specified item from the knowledge.
Public method FindItemMetadataById When overridden in a derived class, gets item metadata for the item that has the specified global ID.
Public method FindItemMetadataByIndexedField When overridden in a derived class, returns a list of item metadata entries that have the specified value for the indexed field.
Public method FindItemMetadataByIndexedFields When overridden in a derived class, returns a list of item metadata entries that have the specified values for the set of indexed fields.
Public method FindItemMetadataByMergeWinnerId When overridden in a derived class, returns a list of item metadata entries that represent merge tombstones that have the specified value for their merge winner ID property.
Public method FindItemMetadataByUniqueIndexedField When overridden in a derived class, returns the unique item metadata entry that has the specified value for the indexed field.
Public method FindItemMetadataByUniqueIndexedFields When overridden in a derived class, returns the unique item metadata entry that has the specified values for the indexed fields.
Public method GetAllItems When overridden in a derived class, gets all the items that are contained in the metadata store for this replica.
Public method GetChangeBatch When overridden in a derived class, gets a change batch that contains item metadata for items that are not contained in the specified knowledge from the destination provider.
Public method GetFilteredChangeBatch When overridden in a derived class, gets a change batch that contains item metadata for items that are not contained in the specified knowledge from the destination provider and that are accepted by the specified filter.
Public method GetFilteredFullEnumerationChangeBatch Gets a filtered change batch that contains item metadata for items that have IDs greater than or equal to the specified lower bound, as part of a full enumeration.
Public method GetFilteredFullEnumerationLocalVersions When overridden in a derived class, gets a filtered change batch that contains the versions of items and change units stored in this replica that correspond to the items and change units referred to in a batch of changes that are sent from some other provider, as part of a full enumeration.
Public method GetFilteredLocalVersions When overridden in a derived class, gets a filtered batch of changes that contains the versions of items and change units that are stored in this replica. These items and change units correspond to the items and change units referred to in a batch of changes that is sent from some other provider.
Public method GetForgottenKnowledge When overridden in a derived class, gets the forgotten knowledge for this replica.
Public method GetFullEnumerationChangeBatch When overridden in a derived class, gets a change batch that contains item metadata for items that have IDs equal to or greater than the specified lower bound, as part of a full enumeration.
Public method GetFullEnumerationLocalVersions When overridden in a derived class, gets a change batch that contains the versions of items and change units stored in this replica that correspond to the items and change units referred to in a batch of changes that are sent from some other provider, as part of a full enumeration.
Public method GetHashCode  (Inherited from Object.)
Public method GetItemCount When overridden in a derived class, gets the total number of items in the metadata store and the number of deleted items in the metadata store.
Public method GetKnowledge When overridden in a derived class, gets the current knowledge for this replica.
Public method GetLocalVersions When overridden in a derived class, gets a batch of changes that contains the versions of items and change units that are stored in this replica. These items and change units correspond to the items and change units referred to in a batch of changes that is sent from some other provider.
Public method GetNextTickCount When overridden in a derived class, increments the previously saved tick count for this replica, saves the new value to the store, and returns the new value.
Public method GetType  (Inherited from Object.)
Public method Bb665585.static(en-us,SQL.105).gif ReferenceEquals  (Inherited from Object.)
Public method RemoveItemMetadata When overridden in a derived class, removes item metadata from the metadata store.
Public method SaveItemMetadata When overridden in a derived class, saves item metadata property changes to the metadata store.
Public method SaveReplicaMetadata When overridden in a derived class, saves replica metadata property changes to the metadata store.
Public method SetForgottenKnowledge When overridden in a derived class, sets the forgotten knowledge for this replica.
Public method SetKnowledge When overridden in a derived class, sets the current knowledge for this replica.
Public method ToString  (Inherited from Object.)

Top

Protected Methods

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

Top

See Also

Reference

ReplicaMetadata Class
Microsoft.Synchronization.MetadataStorage Namespace