Share via


ISynchronousNotifyingChangeApplierTarget::GetDestinationVersion

Gets the version of an item that is stored in the destination replica.

HRESULT GetDestinationVersion(
  ISyncChange * pSourceChange,
  ISyncChange ** ppDestinationVersion);

Parameters

  • pSourceChange
    [in] The item change that is sent by the source provider.
  • ppDestinationVersion
    [out] Returns an item change that contains the version of the item in the destination replica.

Return Value

  • S_OK

  • Provider-determined error codes

Remarks

This method is called by the ISynchronousNotifyingChangeApplier object when destination versions are not passed to the ISynchronousNotifyingChangeApplier::ApplyChanges method. GetDestinationVersion is called one time for each change in the batch of changes that is sent to the change applier.

See Also

Reference

ISynchronousNotifyingChangeApplierTarget Interface