This documentation is archived and is not being maintained.

SPWebApplication.OnPostRestore Method

Windows SharePoint Services 3

Called after the Web application has been restored. This method implements the OnPostRestore method defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPWebApplication class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface, but this method is only intended to be callable from Windows SharePoint Services catastrophic backup and restore infrastructure code.

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

public bool OnPostRestore(
	Object sender,
	SPRestoreInformation info


Type: System.Object
The SPWebApplication that is being restored.
Type: Microsoft.SharePoint.Administration.Backup.SPRestoreInformation
An SPRestoreInformation object that contains data about the event.

Return Value

Type: System.Boolean
true if successful; otherwise, false.


IBackupRestore.OnPostRestore(Object, SPRestoreInformation)