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.
Called when the system is being backed up.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overridable Function OnBackup ( _
sender As Object, _
info As SPBackupInformation _
) As Boolean
'Usage
Dim instance As SPJobDefinition
Dim sender As Object
Dim info As SPBackupInformation
Dim returnValue As Boolean
returnValue = instance.OnBackup(sender, _
info)
public virtual bool OnBackup(
Object sender,
SPBackupInformation info
)
Parameters
sender
Type: System.ObjectThe source of the event.
info
Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformationThe backup information for this object.
Return Value
Type: System.Boolean
true if backup is successfully completed.
Implements
IBackupRestore.OnBackup(Object, SPBackupInformation)
Remarks
This method should be called only by the backup/restore process.