共用方式為


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