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
sender
Type: System.ObjectThe object calling this event.
info
Type: Microsoft.SharePoint.Administration.Backup.SPRestoreInformationThe restore information about the solution.
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.