Compartilhar via


FormsService.IBackupRestore.OnPrepareBackup Method

Reserved for internal use. 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)

Syntax

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

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

Parameters

  • sender
    Type: System.Object
    The object that initiated the backup operation.

Return Value

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

Implements

IBackupRestore.OnPrepareBackup(Object, SPBackupInformation)

See Also

Reference

FormsService Class

FormsService Members

Microsoft.Office.InfoPath.Server.Administration Namespace