Share via


MergeEvent.RollBack property

Gets or sets a value that provides additional information to the OnMergeRequest event along with the ReturnStatus flag, allowing the entire merging operation to be cancelled

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
Property RollBack As Boolean
    Get
    Set
'Usage
Dim instance As MergeEvent
Dim value As Boolean

value = instance.RollBack

instance.RollBack = value
bool RollBack { get; set; }

Property value

Type: System.Boolean

Remarks

If ReturnStatus is set to true, this property is ignored.

If the ReturnStatus property is false 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 RollBack property is false, merging the current form will fail, but the merging operation will continue with the next form.

Important

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.

See also

Reference

MergeEvent interface

MergeEvent members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace