IConstraintConflict::SetConstraintResolveActionForChange

Sets a conflict resolution action for the conflict.

Syntax

HRESULT SetConstraintResolveActionForChange(
  SYNC_CONSTRAINT_RESOLVE_ACTION constraintResolveAction);

Parameters

  • constraintResolveAction
    [in] The conflict resolution action to set for the conflict.

Return Value

  • S_OK.

  • E_INVALIDARG when constraintResolveAction is not a member of SYNC_CONSTRAINT_RESOLVE_ACTION, or when the conflict is not a collision conflict and constraintResolveAction is set to a value other than SCRA_DEFER or SCRA_TRANSFER_AND_DEFER, or when the conflict is a collision conflict and no conflict item ID has been specified.

See Also

Reference

IConstraintConflict Interface