Export (0) Print
Expand All

SPSolution.IBackupRestore.OnPreRestore Method

The event that is called when the system is preparing a restore operation.

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

bool IBackupRestore.OnPreRestore(
	Object sender,
	SPRestoreInformation info
)

Parameters

sender
Type: System.Object
The object that is calling this event.
info
Type: Microsoft.SharePoint.Administration.Backup.SPRestoreInformation
The restore information for the solution.

Return Value

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

Implements

IBackupRestore.OnPreRestore(Object, SPRestoreInformation)

This function should not be called by anything except the backup and restore process and always returns true.

Community Additions

ADD
Show:
© 2014 Microsoft