Share via


MergeEventArgs.Rollback Property (Microsoft.Office.InfoPath)

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.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

Syntax

'Declaration
Public MustOverride Property Rollback As Boolean
'Usage
Dim instance As MergeEventArgs
Dim value As Boolean

value = instance.Rollback

instance.Rollback = value
public abstract bool Rollback { get; set; }

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 Office InfoPath 2007.

See Also

Reference

MergeEventArgs Class
MergeEventArgs Members
Microsoft.Office.InfoPath Namespace