Share via


ExemptUserAgent.IBackupRestore.OnBackup 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)

Syntax

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

returnValue = CType(instance, IBackupRestore).OnBackup(sender, _
    args)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
bool IBackupRestore.OnBackup(
    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.OnBackup(Object, SPBackupInformation)

See Also

Reference

ExemptUserAgent Class

ExemptUserAgent Members

Microsoft.Office.InfoPath.Server.Administration Namespace