FormTemplateCollection.IBackupRestore.OnPrepareBackup method

Creates and stores the backup copy of the content component.

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
bool IBackupRestore.OnPrepareBackup(
	Object sender,
	SPBackupInformation args
)

Parameters

sender
Type: System.Object

The object that initiated the backup operation.

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

An SPBackupInformation object that contains data about the operation.

Return value

Type: System.Boolean
true if successful; otherwise, false.

Implements

IBackupRestore.OnPrepareBackup(Object, SPBackupInformation)
Show: