Share via


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)

Syntax

'Declaration
Public Sub SetDestinationKnowledge ( _
    destinationKnowledge As SyncKnowledge, _
    destinationForgottenKnowledge As ForgottenKnowledge _
)
'Usage
Dim instance As ChangeApplicationServices
Dim destinationKnowledge As SyncKnowledge
Dim destinationForgottenKnowledge As ForgottenKnowledge

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

Parameters

  • destinationKnowledge
    The current destination knowledge.
  • destinationForgottenKnowledge
    The current destination forgotten knowledge. Can be a null reference (Nothing in Visual Basic) when the changes to apply are not part of a recovery synchronization; otherwise, cannot be a null reference (Nothing in Visual Basic).

Exceptions

Exception type Condition

ArgumentNullException

A required parameter is a null reference (Nothing in Visual Basic).

SyncInvalidOperationException

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

See Also

Reference

ChangeApplicationServices Class
ChangeApplicationServices Members
Microsoft.Synchronization Namespace