Export (0) Print
Expand All

MergeEventArgs.Rollback property

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)

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

value = instance.Rollback

instance.Rollback = value

Property value

Type: System.Boolean
true if the merging operation will be rolled back; otherwise false.

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.

Show:
© 2014 Microsoft