ChangeApplicationServices.ReportChangeUnitChangeApplied Method

SQL Server 2008 R2

Notifies the change application service that a change unit change has been successfully applied to the destination replica.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

public void ReportChangeUnitChangeApplied (
	ChangeUnitChange changeUnitChange
)
public void ReportChangeUnitChangeApplied (
	ChangeUnitChange changeUnitChange
)
public function ReportChangeUnitChangeApplied (
	changeUnitChange : ChangeUnitChange
)

Parameters

changeUnitChange

The change unit change that was successfully applied to the destination replica.

Exception typeCondition

ArgumentNullException

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

ActiveChangeApplicationContextException

A ChangeApplicationContext object is already active. The active ChangeApplicationContext object must be processed until its ChangeApplicationAction property is set to Finished before another change can be processed.

ChangeNeedsKnowledgeException

changeUnitChange does not contain made-with knowledge.

SyncIdFormatMismatchException

The ID format schema of the knowledge object contained in changeUnitChange does not match the ID format schema specified when this object was initialized.

SyncInvalidOperationException

Change application was not started or changeUnitChange or its parent change has already been reported as successfully applied or conflicting.

ForgottenKnowledgeNotContainedException

The learned knowledge for the change does not contain the learned forgotten knowledge.

Show: