SPDiagnosticsServiceBase.OnAbort method
Raises the Abort event.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Overridable Function OnAbort ( _
sender As Object, _
info As SPBackupRestoreInformation _
) As Boolean
'Usage
Dim instance As SPDiagnosticsServiceBase
Dim sender As Object
Dim info As SPBackupRestoreInformation
Dim returnValue As Boolean
returnValue = instance.OnAbort(sender, _
info)
public virtual bool OnAbort(
Object sender,
SPBackupRestoreInformation info
)
sender
Type: System.ObjectThe SPDiagnosticesServiceBase object that is being backed up or restored.
info
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreInformationThe object that represents the SPDiagnosticsServiceBase that is being backed up.
Type: System.Boolean
true if successful; otherwise, false.
IBackupRestore.OnAbort(Object, SPBackupRestoreInformation)
This implementation always returns true.
This method is only intended to be called from catastrophic backup and restore infrastructure code in SharePoint Foundation.
SPDiagnosticsServiceBase class