共用方式為


SPSecurityTokenServiceManager.IBackupRestore.OnBackupComplete Method

The event that is called when the system is finished with the backup and restore procedure.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Private Function OnBackupComplete ( _
    sender As Object, _
    args As SPBackupInformation _
) As Boolean Implements IBackupRestore.OnBackupComplete
'Usage
Dim instance As SPSecurityTokenServiceManager
Dim sender As Object
Dim args As SPBackupInformation
Dim returnValue As Boolean

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

Parameters

  • sender
    Type: System.Object

    The object that is calling the event.

Return Value

Type: System.Boolean
true if the backup was successfully completed; otherwise, false.

Implements

IBackupRestore.OnBackupComplete(Object, SPBackupInformation)

See Also

Reference

SPSecurityTokenServiceManager Class

SPSecurityTokenServiceManager Members

Microsoft.SharePoint.Administration.Claims Namespace