This documentation is archived and is not being maintained.

SPWebApplication.OnAbort Method

Windows SharePoint Services 3

Called when the backup terminates unexpectedly. This method implements the OnAbort 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 OnAbort(
	Object sender,
	SPBackupRestoreInformation args
)

Parameters

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

Return Value

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

Implements

IBackupRestore.OnAbort(Object, SPBackupRestoreInformation)
Show: