IConstraintConflict Interface
Represents a constraint conflict between two items.
interface IConstraintConflict : IUnknown
Members
IConstraintConflict method | Description |
---|---|
IConstraintConflict::GetDestinationProviderConflictingChange |
Gets the change metadata from the destination provider. |
Gets the change metadata from the source provider. |
|
Gets the change metadata from the destination provider for the item that originally caused the conflict. |
|
Gets an object that can be used to retrieve item data for the change item from the destination replica. |
|
Gets an object that can be used to retrieve item data for the change item from the source replica. |
|
Gets an object that can be use to retrieve item data for the item in the destination replica that originally caused the conflict. |
|
Gets the conflict resolution action for the conflict. |
|
Sets a conflict resolution action for the conflict. |
|
IConstraintConflict::GetConstraintResolveActionForChangeUnit |
Gets the conflict resolution action for the conflicting change unit change. |
IConstraintConflict::SetConstraintResolveActionForChangeUnit |
Sets a conflict resolution action for the conflicting change unit change. |
Gets the reason that the conflict occurred. |
|
Indicates whether the conflict is temporary. |
Remarks
When the application specifies CCRP_NONE as the collision conflict resolution policy, the change applier sends an IConstraintConflict object to the ISyncConstraintCallback::OnConstraintConflict method one time for each collision constraint conflict that is reported during synchronization.
Because a conflict resolution policy cannot be specified for non-collision constraint conflicts, the change applier also calls the OnConstraintConflict method one time for each non-collision constraint conflict that is reported.
For more information, see Detecting and Resolving Constraint Conflicts.
Requirements
Header: Synchronization.h