ChangeApplicationServices.GetUpdatedDestinationKnowledge 方法

命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)

语法

声明
Public Sub GetUpdatedDestinationKnowledge ( _
    <OutAttribute> ByRef destinationKnowledge As SyncKnowledge, _
    <OutAttribute> ByRef destinationForgottenKnowledge As ForgottenKnowledge _
)
用法
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.

参数

  • destinationKnowledge
    返回包含到目前为止所有已应用变更的已更新目标知识。
  • destinationForgottenKnowledge
    返回包含到目前为止所有已应用变更的已更新目标遗忘知识。当要应用的变更集不是恢复同步的组成部分时,可为 null 引用(在 Visual Basic 中为 Nothing);否则不能为 null 引用(在 Visual Basic 中为 Nothing)。

异常

异常类型 条件

FullEnumerationExpectedException

变更集是恢复同步的组成部分,但使用了 BeginChangeApplication 开始变更应用,而不是使用 BeginFullEnumerationChangeApplication

SyncInvalidOperationException

变更应用未开始。

备注

此方法返回的已更新知识对象仅包含目标提供程序通过调用 ReportItemChangeAppliedReportChangeUnitChangeApplied 报告为应用成功的变更。

请参阅

参考

ChangeApplicationServices 类
ChangeApplicationServices 成员
Microsoft.Synchronization 命名空间