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
)
public void GetUpdatedDestinationKnowledge (
/** @attribute OutAttribute() */ /** @ref */ SyncKnowledge destinationKnowledge,
/** @attribute OutAttribute() */ /** @ref */ ForgottenKnowledge destinationForgottenKnowledge
)
JScript does not support passing value-type arguments by reference.
Parameters
- destinationKnowledge
Returns the updated destination knowledge that contains all of the changes that have been applied so far.
- destinationForgottenKnowledge
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 type | Condition |
---|---|
The set of changes is part of a recovery synchronization but BeginChangeApplication was used to start change application instead of BeginFullEnumerationChangeApplication. |
|
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
ChangeApplicationServices Members
Microsoft.Synchronization Namespace