ISaveChangeContext2 Interface

SQL Server 2008 R2

Represents additional information about a change that is being applied.


interface ISaveChangeContext2 : IUnknown

ISaveChangeContext2 method Description

ISaveChangeContext2::GetConflictingItemId

Gets the item ID of the item in the destination replica that conflicts with the item to be applied when the change to be applied is the resolution of a constraint conflict.

ISaveChangeContext2::GetWinnerChange

Gets the metadata of the item to be applied when the change to be applied is the resolution of a constraint conflict.

ISaveChangeContext2::SetConstraintConflictOnChange

Reports that a constraint conflict occurred when the destination provider tried to apply the change to the destination replica.

To obtain an ISaveChangeContext2 object, pass IID_ISaveChangeContext2 to the QueryInterface method of an ISaveChangeContext object.

Header: Synchronization.h

Show: