This documentation is archived and is not being maintained.

SPWebApplication.OnBackup Method

Windows SharePoint Services 3

Called when the Web application is being backed up. This method implements the OnBackup method defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPWebApplication class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface, but this method is only intended to be callable from Windows SharePoint Services catastrophic backup and restore infrastructure code.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool OnBackup(
	Object sender,
	SPBackupInformation info
)

Parameters

sender
Type: System.Object
The SPWebApplication that is being backed up.
info
Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformation
An SPBackupInformation object that contains data about the event.

Return Value

Type: System.Boolean
true if successful; otherwise, false.

Implements

IBackupRestore.OnBackup(Object, SPBackupInformation)
Show: