Share via


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)

Syntax

'Declaration
Public Sub GetUpdatedDestinationKnowledge ( _
    <OutAttribute> ByRef destinationKnowledge As SyncKnowledge, _
    <OutAttribute> ByRef destinationForgottenKnowledge As ForgottenKnowledge _
)
'Usage
Dim instance As ChangeApplicationServices
Dim destinationKnowledge As SyncKnowledge
Dim destinationForgottenKnowledge As ForgottenKnowledge

instance.GetUpdatedDestinationKnowledge(destinationKnowledge, _
    destinationForgottenKnowledge)
public void GetUpdatedDestinationKnowledge(
    out SyncKnowledge destinationKnowledge,
    out ForgottenKnowledge destinationForgottenKnowledge
)
public:
void GetUpdatedDestinationKnowledge(
    [OutAttribute] SyncKnowledge^% destinationKnowledge, 
    [OutAttribute] ForgottenKnowledge^% destinationForgottenKnowledge
)
member GetUpdatedDestinationKnowledge : 
        destinationKnowledge:SyncKnowledge byref * 
        destinationForgottenKnowledge:ForgottenKnowledge byref -> unit 
public function GetUpdatedDestinationKnowledge(
    destinationKnowledge : SyncKnowledge, 
    destinationForgottenKnowledge : ForgottenKnowledge
)

Parameters

  • 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 null reference (Nothing in Visual Basic) when the set of changes to be applied is not part of a recovery synchronization; otherwise, cannot be a null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
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.

Remarks

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.

See Also

Reference

ChangeApplicationServices Class

Microsoft.Synchronization Namespace