SPSolutionCollection.IBackupRestore.OnBackup method

SharePoint 2013

An event that is called when the system is being backed up.

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

bool IBackupRestore.OnBackup(
	Object sender,
	SPBackupInformation info
)

Parameters

sender
Type: System.Object

The object that is called the event.

info
Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformation

The backup information for the solution collection.

Return value

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

Implements

IBackupRestore.OnBackup(Object, SPBackupInformation)

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

Show: