Compartilhar via


SPSolution.IBackupRestore.OnPostRestore Method

The event that is called when the system is finished restoring.

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

Syntax

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

returnValue = CType(instance, IBackupRestore).OnPostRestore(sender, _
    info)
boolIBackupRestore.OnPostRestore(
    Object sender,
    SPRestoreInformation info
)

Parameters

Return Value

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

Implements

IBackupRestore.OnPostRestore(Object, SPRestoreInformation)

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