SPSolutionCollection.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)
Available in Sandboxed Solutions: No

Syntax

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

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

Parameters

  • sender
    Type: System.Object

    The object that is calling the event.

Return Value

Type: System.Boolean
Returns true.

Implements

IBackupRestore.OnAbort(Object, SPBackupRestoreInformation)

Remarks

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

See Also

Reference

SPSolutionCollection Class

SPSolutionCollection Members

Microsoft.SharePoint.Administration Namespace