IMetadataStoreUpgradeCallback Interface
When implemented by a derived class, represents methods that Sync Framework can call to notify a provider that the metadata store file format is about to be upgraded.
interface IMetadataStoreUpgradeCallback : IUnknown
Members
IMetadataStoreUpgradeCallback method | Description |
---|---|
IMetadataStoreUpgradeCallback::OnMetadataStoreFileUpgradeStart |
Called by Sync Framework before the metadata store file format is upgraded. Returns a value that indicates whether the upgrade can be performed. |
IMetadataStoreUpgradeCallback::OnMetadataStoreFileUpgradeComplete |
Called by Sync Framework after the metadata store file format upgrade has finished. |
Remarks
IMetadataStoreUpgradeCallback is typically implemented by a provider.
When a metadata store file in the 1.0 format is opened by Sync Framework 2.0, it is automatically upgraded to the 2.0 format, unless the provider registers to receive notification of the upgrade and indicates that the metadata storage service should not upgrade the file format. To register to receive upgrade notifications, pass an IMetadataStoreUpgradeCallback object to ISyncMetadataStore2::SetMetadataStoreUpgradeNotificationCallback before opening the metadata store.
Requirements
Header: MetaStore.h