Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Registers a callback interface that receives notifications about metadata store file format upgrades.
Syntax
HRESULT SetMetadataStoreUpgradeNotificationCallback(
IMetadataStoreUpgradeCallback *pUpgradeCallback);
Parameters
- pUpgradeCallback
[in] A callback interface that is notified about metadata store file format upgrades.
Return Value
S_OK
E_POINTER
Remarks
When a metadata store file in the 1.0 format is opened by Sync Framework 2.x, it is automatically upgraded to the 2.x 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 SetMetadataStoreUpgradeNotificationCallback before opening the metadata store.