SPSolution.IBackupRestore.OnAbort method

An event that is called in the backup and restore infrastructure when the user cancels the operation.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

'Declaration
Private Function OnAbort ( _
	sender As Object, _
	info As SPBackupRestoreInformation _
) As Boolean Implements IBackupRestore.OnAbort
'Usage
Dim instance As SPSolution
Dim sender As Object
Dim info As SPBackupRestoreInformation
Dim returnValue As Boolean

returnValue = CType(instance, IBackupRestore).OnAbort(sender, _
	info)

Parameters

sender
Type: System.Object

The object that is calling the event.

info
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreInformation

The backup and restore information for the solution.

Return value

Type: System.Boolean
Returns true if the backup and restore was aborted; otherwise, false otherwise.

Implements

IBackupRestore.OnAbort(Object, SPBackupRestoreInformation)

This function should only be called by the backup and restore process.

Show: