SPSecurityTokenServiceManager.IBackupRestore.OnBackup method
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 SPSecurityTokenServiceManager
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)
See also
Reference
SPSecurityTokenServiceManager class