Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An event that is called when the system is being backed up.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.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 SPClaimProviderManager
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 is called the event.
args
Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformationAn SPBackupRestoreInformation object that contains data about the event.
Return Value
Type: System.Boolean
true if successful; otherwise, false.
Implements
IBackupRestore.OnBackup(Object, SPBackupInformation)