SPClaimProviderManager.IBackupRestore.OnAbort method

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

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.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 SPClaimProviderManager
Dim sender As Object
Dim args As SPBackupRestoreInformation
Dim returnValue As Boolean

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

Parameters

  • sender
    Type: System.Object

    The object that is calling the event.

Return value

Type: System.Boolean
true if successful; otherwise, false.

Implements

IBackupRestore.OnAbort(Object, SPBackupRestoreInformation)

See also

Reference

SPClaimProviderManager class

SPClaimProviderManager members

Microsoft.SharePoint.Administration.Claims namespace