FormTemplateCollection.IBackupRestore.OnRestore method

Reads the backed up content and copies it to the target destination of the restore operation.

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

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

Parameters

sender
Type: System.Object

The object that called OnRestore.

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

An SPRestoreInformation object that contains data about the operation.

Return value

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

Implements

IBackupRestore.OnRestore(Object, SPRestoreInformation)
Show: