Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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
)
member SetDestinationKnowledge :
destinationKnowledge:SyncKnowledge *
destinationForgottenKnowledge:ForgottenKnowledge -> unit
public function SetDestinationKnowledge(
destinationKnowledge : SyncKnowledge,
destinationForgottenKnowledge : ForgottenKnowledge
)
Parameters
- destinationKnowledge
Type: Microsoft.Synchronization.SyncKnowledge
The current destination knowledge.
- destinationForgottenKnowledge
Type: Microsoft.Synchronization.ForgottenKnowledge
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 | 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. |