Edit

Share via


MergeEventArgs.Rollback Property

Definition

Gets or sets a value that is used with the Cancel property to determine whether to cancel only the current form or the entire merging operation.

public:
 abstract property bool Rollback { bool get(); void set(bool value); };
public abstract bool Rollback { get; set; }
member this.Rollback : bool with get, set
Public MustOverride Property Rollback As Boolean

Property Value

true if the merging operation will be rolled back; otherwise false.

Remarks

If the Cancel property (accessed using the CancelableArgs property) is set to false, this property is ignored.

If the Cancel property is true and the RollBack property is true, the entire merging operation will be cancelled and rolled back to the state before the operation was initiated. If the Cancel property is false and the RollBack property is true, merging the current form will fail, but the merging operation will continue with the next form.

This property can be used only during the Merge event.

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

Applies to