Export (0) Print
Expand All

SPWebApplication.OnRestore Method

Windows SharePoint Services 3

Called when the Web application is being restored. This method implements the OnRestore 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 virtual bool OnRestore(
	Object sender,
	SPRestoreInformation args
)

Parameters

sender
Type: System.Object
The SPWebApplication that is being restored.
args
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.

Implements

IBackupRestore.OnRestore(Object, SPRestoreInformation)

Community Additions

ADD
Show:
© 2014 Microsoft