FormTemplate.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)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Private Function OnRestore ( _
    sender As Object, _
    args As SPRestoreInformation _
) As Boolean Implements IBackupRestore.OnRestore
'Usage
Dim instance As FormTemplate
Dim sender As Object
Dim args As SPRestoreInformation
Dim returnValue As Boolean

returnValue = CType(instance, IBackupRestore).OnRestore(sender, _
    args)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
boolIBackupRestore.OnRestore(
    Object sender,
    SPRestoreInformation args
)

Parameters

Return value

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

Implements

IBackupRestore.OnRestore(Object, SPRestoreInformation)

See also

Reference

FormTemplate class

FormTemplate members

Microsoft.Office.InfoPath.Server.Administration namespace