Share via


SPSolution.IBackupRestore.OnBackupComplete Method

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

returnValue = CType(instance, IBackupRestore).OnBackupComplete(sender, _
    info)
boolIBackupRestore.OnBackupComplete(
    Object sender,
    SPBackupInformation info
)

Parameters

  • sender
    Type: System.Object

    The object that is calling the event.

Return Value

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

Implements

IBackupRestore.OnBackupComplete(Object, SPBackupInformation)

Remarks

This function should not be called by anything except the backup and restore process.

See Also

Reference

SPSolution Class

SPSolution Members

Microsoft.SharePoint.Administration Namespace