Share via


ExemptUserAgent.IBackupRestore.OnPreRestore Method

Provides restore preparation processing.

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 OnPreRestore ( _
    sender As Object, _
    args As SPRestoreInformation _
) As Boolean Implements IBackupRestore.OnPreRestore
'Usage
Dim instance As ExemptUserAgent
Dim sender As Object
Dim args As SPRestoreInformation
Dim returnValue As Boolean

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

Parameters

Return Value

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

Implements

IBackupRestore.OnPreRestore(Object, SPRestoreInformation)

See Also

Reference

ExemptUserAgent Class

ExemptUserAgent Members

Microsoft.Office.InfoPath.Server.Administration Namespace