ChangeApplicationServices::SetDestinationKnowledge Method

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

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

public:
void SetDestinationKnowledge(
	SyncKnowledge^ destinationKnowledge, 
	ForgottenKnowledge^ destinationForgottenKnowledge
)

Parameters

destinationKnowledge
Type: Microsoft.Synchronization::SyncKnowledge
The current destination knowledge.
destinationForgottenKnowledge
Type: Microsoft.Synchronization::ForgottenKnowledge
The current destination forgotten knowledge. Can be a nullptr when the changes to apply are not part of a recovery synchronization; otherwise, cannot be a nullptr.

ExceptionCondition
ArgumentNullException

A required parameter is a nullptr.

SyncInvalidOperationException

Change application was not started or changes have already been applied for the current set of changes.

Show: