ISyncMetadataStore Interface

Represents a metadata store. This is the base interface for all metadata stores that use the metadata storage service API.

interface ISyncMetadataStore : IUnknown

Members

ISyncMetadataStore methods Description

ISyncMetadataStore::InitializeReplicaMetadata

Creates, initializes, and saves new metadata for a replica.

ISyncMetadataStore::GetReplicaMetadata

Gets the IReplicaMetadata object that represents the metadata for a particular replica.

ISyncMetadataStore::BeginTransaction

Starts an explicit transaction on the metadata store that has the specified isolation level.

ISyncMetadataStore::CommitTransaction

Commits an explicit transaction that has already started on the metadata store.

ISyncMetadataStore::RollbackTransaction

Cancels the current explicit transaction and rolls the metadata store back to the state it was in before the transaction was started.

ISyncMetadataStore::GetIsTransactionActive

Indicates whether an explicit transaction is currently active for the specified isolation level.

Remarks

Sync Framework provides a complete implementation of this interface. To create an object of this type, pass CLSID_SyncMetadataStore and IID_ISqlCESyncMetadataStore to CoCreateInstance.

Requirements

Header: Metastore.h

See Also

Reference

ISqlSyncMetadataStore Interface

Concepts

Sync Framework Metadata Storage Service Components
Getting Started Storing Metadata