Udostępnij za pośrednictwem


SaveChangeWithChangeUnitsContext.GetUpdatedDestinationKnowledge Method

Gets updated knowledge and forgotten knowledge objects that represent the state of the destination knowledge after this change unit change is applied.

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

Syntax

'Declaration
Public Sub GetUpdatedDestinationKnowledge ( _
    <OutAttribute> ByRef knowledge As SyncKnowledge, _
    <OutAttribute> ByRef forgottenKnowledge As ForgottenKnowledge _
)
'Usage
Dim instance As SaveChangeWithChangeUnitsContext
Dim knowledge As SyncKnowledge
Dim forgottenKnowledge As ForgottenKnowledge

instance.GetUpdatedDestinationKnowledge(knowledge, forgottenKnowledge)
public void GetUpdatedDestinationKnowledge (
    out SyncKnowledge knowledge,
    out ForgottenKnowledge forgottenKnowledge
)
public:
void GetUpdatedDestinationKnowledge (
    [OutAttribute] SyncKnowledge^% knowledge, 
    [OutAttribute] ForgottenKnowledge^% forgottenKnowledge
)
public void GetUpdatedDestinationKnowledge (
    /** @attribute OutAttribute() */ /** @ref */ SyncKnowledge knowledge, 
    /** @attribute OutAttribute() */ /** @ref */ ForgottenKnowledge forgottenKnowledge
)
JScript does not support passing value-type arguments by reference.

Parameters

  • knowledge
    Returns the updated knowledge for the destination.
  • forgottenKnowledge
    Returns the updated forgotten knowledge for the destination.

Remarks

The knowledge objects that are returned by this method should directly replace the existing knowledge objects on the destination.

Before calling this method, any recoverable errors must be reported with RecordRecoverableErrorForChangeUnit.

Calling this method more than one time returns InvalidOperationException on any call but the first.

See Also

Reference

SaveChangeWithChangeUnitsContext Class
SaveChangeWithChangeUnitsContext Members
Microsoft.Synchronization Namespace