Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IBackupRestore.OnRestore Method

SPSolution.IBackupRestore.OnRestore Method

The event that is called when the system is being restored.

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

bool IBackupRestore.OnRestore(
	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 the restore is successful; otherwise, false.

Implements

IBackupRestore.OnRestore(Object, SPRestoreInformation)

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

Show:
© 2015 Microsoft