IProviderMetadataUpgradeCallback::OnProviderUpgradeRequired
Occurs when the expected provider compatibility version specified to ISyncMetadataStoreSerializer::DeserializeReplicaMetadata does not match the provider version that is contained in the serialized metadata.
HRESULT OnProviderUpgradeRequired(
DWORD dwCurrentProviderVersionInFile);
Parameters
- dwCurrentProviderVersionInFile
[in] The provider version that is contained in the serialized metadata.
Return Value
S_OK
Provider-determined error codes
Remarks
If the provider cannot upgrade the metadata from the version specified by dwCurrentProviderVersionInFile, this method must return an error, such as SYNC_E_METADATA_STORE_DESERIALIZATION_PROVIDER_VERSION_MISMATCH.