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

SPSolution.IBackupRestore.OnPrepareBackup method

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

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

bool IBackupRestore.OnPrepareBackup(
	Object sender,
	SPBackupInformation info


Type: System.Object

The object that is calling this event.

Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformation

The backup information for the solution.

Return value

Type: System.Boolean
Returns true if the backup is prepared successfully; otherwise, false.


IBackupRestore.OnPrepareBackup(Object, SPBackupInformation)

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

© 2015 Microsoft