ChangeApplicationServices::GetUpdatedDestinationKnowledge Method

Gets the updated destination knowledge that contains all of the changes that have been applied so far.

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

public:
void GetUpdatedDestinationKnowledge(
	[OutAttribute] SyncKnowledge^% destinationKnowledge, 
	[OutAttribute] ForgottenKnowledge^% destinationForgottenKnowledge
)

Parameters

destinationKnowledge
Type: Microsoft.Synchronization::SyncKnowledge%
Returns the updated destination knowledge that contains all of the changes that have been applied so far.
destinationForgottenKnowledge
Type: Microsoft.Synchronization::ForgottenKnowledge%
Returns the updated destination forgotten knowledge that contains all of the changes that have been applied so far. Can be a nullptr when the set of changes to be applied is not part of a recovery synchronization; otherwise, cannot be a nullptr.

ExceptionCondition
FullEnumerationExpectedException

The set of changes is part of a recovery synchronization but BeginChangeApplication was used to start change application instead of BeginFullEnumerationChangeApplication.

SyncInvalidOperationException

Change application was not started.

The updated knowledge objects that are returned by this method include only changes that the destination provider reported as successfully applied by calling ReportItemChangeApplied or ReportChangeUnitChangeApplied.

Show: