共用方式為


EndFullEnumerationChangeApplication 方法

結束處理一組變更 (復原同步處理的一部分)。

命名空間:  Microsoft.Synchronization
組件:  Microsoft.Synchronization (在 Microsoft.Synchronization.dll 中)

語法

'宣告
Public Sub EndFullEnumerationChangeApplication ( _
    batchLearnedKnowledge As SyncKnowledge, _
    batchLearnedForgottenKnowledge As ForgottenKnowledge, _
    <OutAttribute> ByRef destinationKnowledge As SyncKnowledge, _
    <OutAttribute> ByRef destinationForgottenKnowledge As ForgottenKnowledge _
)
'用途
Dim instance As ChangeApplicationServices
Dim batchLearnedKnowledge As SyncKnowledge
Dim batchLearnedForgottenKnowledge As ForgottenKnowledge
Dim destinationKnowledge As SyncKnowledge
Dim destinationForgottenKnowledge As ForgottenKnowledge

instance.EndFullEnumerationChangeApplication(batchLearnedKnowledge, _
    batchLearnedForgottenKnowledge, _
    destinationKnowledge, destinationForgottenKnowledge)
public void EndFullEnumerationChangeApplication(
    SyncKnowledge batchLearnedKnowledge,
    ForgottenKnowledge batchLearnedForgottenKnowledge,
    out SyncKnowledge destinationKnowledge,
    out ForgottenKnowledge destinationForgottenKnowledge
)
public:
void EndFullEnumerationChangeApplication(
    SyncKnowledge^ batchLearnedKnowledge, 
    ForgottenKnowledge^ batchLearnedForgottenKnowledge, 
    [OutAttribute] SyncKnowledge^% destinationKnowledge, 
    [OutAttribute] ForgottenKnowledge^% destinationForgottenKnowledge
)
member EndFullEnumerationChangeApplication : 
        batchLearnedKnowledge:SyncKnowledge * 
        batchLearnedForgottenKnowledge:ForgottenKnowledge * 
        destinationKnowledge:SyncKnowledge byref * 
        destinationForgottenKnowledge:ForgottenKnowledge byref -> unit 
public function EndFullEnumerationChangeApplication(
    batchLearnedKnowledge : SyncKnowledge, 
    batchLearnedForgottenKnowledge : ForgottenKnowledge, 
    destinationKnowledge : SyncKnowledge, 
    destinationForgottenKnowledge : ForgottenKnowledge
)

參數

例外

例外狀況 條件
ArgumentNullException

必要的參數為 null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) 。

SyncIdFormatMismatchException

指定之知識物件的識別碼格式結構描述與初始化這個物件時所指定的識別碼格式結構描述不符。

SyncInvalidOperationException

變更套用並未啟動。

備註

這個方法會修改變更批次中學習到的知識 (由 batchLearnedKnowledge 指定) 和變更批次中學習到的被遺忘知識 (由 batchLearnedForgottenKnowledge 指定),以便排除報告成在變更套用期間略過的任何變更。

destinationKnowledge 中傳回的更新目的地知識和 destinationForgottenKnowledge 中傳回的更新目的地被遺忘知識必須取代目的地複寫的目前知識和被遺忘知識。

注意

計算更新的目的地知識時,目的地提供者並未透過呼叫 ReportItemChangeAppliedReportChangeUnitChangeApplied 報告成功套用的任何變更都會被視為已失敗。

請參閱

參考

ChangeApplicationServices類別

ChangeApplicationServices 成員

Microsoft.Synchronization 命名空間