FormTemplateCollection.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 FormTemplateCollection
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
- sender
Type: System.Object
The object that calls OnAbort.
- args
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreInformation
An SPBackupRestoreInformation object that contains data about the operation.
Return Value
Type: System.Boolean
true in all cases.
Implements
IBackupRestore.OnAbort(Object, SPBackupRestoreInformation)