DataConnectionFileCollection.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 DataConnectionFileCollection
Dim sender As Object
Dim args As SPBackupInformation
Dim returnValue As Boolean
returnValue = CType(instance, IBackupRestore).OnBackup(sender, _
args)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
boolIBackupRestore.OnBackup(
Object sender,
SPBackupInformation args
)
Parameters
sender
Type: System.ObjectThe object that initiated the backup operation.
args
Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformationThe object that initiated the backup operation.
Return value
Type: System.Boolean
true if successful; otherwise, false.
Implements
IBackupRestore.OnBackup(Object, SPBackupInformation)
See also
Reference
DataConnectionFileCollection class