Provides post restore processing.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
- Type: System.Object
The object that calls .
- Type: Microsoft.SharePoint.Administration.Backup.SPRestoreInformation
An SPRestoreInformation object that contains data about the operation.
Return valueType: System.Boolean
true if successful; otherwise, false.
At a minimum, your implementation should set CurrentProgess() to 100 percent and return true. This is typically all that is required.
In some cases, post restoration actions are needed. For example, your implementation of could restart a Windows service that had to be stopped or paused for the restoration operation.
The method will not run if OnRestore returns false.