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);

dwCurrentProviderVersionInFile

[in] The provider version that is contained in the serialized metadata.

  • S_OK

  • Provider-determined error codes

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.

Show: