Partilhar via


FormsServiceBackup.IBackupRestore.OnAbort Method

Assists in a graceful termination when a user cancels a backup or restore operation.

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Private Function OnAbort ( _
    sender As Object, _
    args As SPBackupRestoreInformation _
) As Boolean Implements IBackupRestore.OnAbort
'Usage
Dim instance As FormsServiceBackup
Dim sender As Object
Dim args As SPBackupRestoreInformation
Dim returnValue As Boolean

returnValue = CType(instance, IBackupRestore).OnAbort(sender, _
    args)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
bool IBackupRestore.OnAbort(
    Object sender,
    SPBackupRestoreInformation args
)

Parameters

Return Value

Type: System.Boolean
true in all cases.

Implements

IBackupRestore.OnAbort(Object, SPBackupRestoreInformation)

See Also

Reference

FormsServiceBackup Class

FormsServiceBackup Members

Microsoft.Office.InfoPath.Server.Administration Namespace