ISqlSyncMetadataStore Interface
Represents a metadata store that uses a lightweight database for storage.
interface ISqlSyncMetadataStore : ISyncMetadataStore2
Members
ISqlSyncMetadataStore methods | Description |
---|---|
Creates a metadata store file and a metadata store object to represent it. |
|
Opens an existing metadata store file and returns a metadata store object that represents it. |
|
Releases the resources that are used by the ISqlSyncMetadataStore object. |
Remarks
The metadata storage service offers a complete implementation of the metadata storage service API that uses a lightweight database to store all the metadata that is required for synchronization in one database file in a specified location in the file system. The entry point into this implementation is ISqlSyncMetadataStore. To obtain an object that implements this interface, pass CLSID_SyncMetadataStore and IID_ISqlSyncMetadataStore to the CoCreateInstance function.
To use the implementation of the metadata storage service API |
|
This implementation of the API also provides methods on the IReplicaMetadata object that help detect items deleted from the item store. For example, IReplicaMetadata::GetUnreportedItems returns a list of items that exist in the metadata store but do not exist in the item store. A provider can then mark the items in this list as tombstones in the metadata store.
Requirements
Header: Metastore.h
See Also
Concepts
Sync Framework Metadata Storage Service Components
Getting Started Storing Metadata