Udostępnij za pośrednictwem


IChangeApplicationServices::SetDestinationKnowledge

Sets the destination knowledge that is used to calculate the updated destination knowledge as changes are applied.

HRESULT SetDestinationKnowledge(
  ISyncKnowledge * pDestinationKnowledge,
  IForgottenKnowledge * pDestinationForgottenKnowledge);

Parameters

  • pDestinationKnowledge
    [in] The current destination knowledge.
  • pDestinationForgottenKnowledge
    [in, unique] The current destination forgotten knowledge. Can be NULL when the changes to apply are not part of a recovery synchronization; otherwise, cannot be NULL.

Return Value

  • S_OK.

  • E_OUTOFMEMORY.

  • E_POINTER when pDestinationKnowledge is NULL, or when pDestinationForgottenKnowledge is NULL and the changes to apply are part of a recovery synchronization.

  • SYNC_E_INVALID_OPERATION when this object has not been initialized, or when change application was not started for a set of changes, or when any changes have already been applied for the current set of changes.

See Also

Reference

IChangeApplicationServices Interface