SPUserCodeService.OnAbort-Methode
Löst das Ereignis abbrechen.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function OnAbort ( _
sender As Object, _
info As SPBackupRestoreInformation _
) As Boolean
'Usage
Dim instance As SPUserCodeService
Dim sender As Object
Dim info As SPBackupRestoreInformation
Dim returnValue As Boolean
returnValue = instance.OnAbort(sender, _
info)
public bool OnAbort(
Object sender,
SPBackupRestoreInformation info
)
Parameter
sender
Typ: System.ObjectDas SPUserCodeService -Objekt, das gesichert oder wiederhergestellt.
info
Typ: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreInformationEin SPBackupRestoreInformation -Objekt, das Daten über das Ereignis enthält.
Rückgabewert
Typ: System.Boolean
true bei erfolgreicher; andernfalls false.
Implementiert
IBackupRestore.OnAbort(Object, SPBackupRestoreInformation)
Hinweise
Diese Implementierung immer gibt truezurück.
Diese Methode ist nur für die direkte Verwendung von schwerwiegenden Sicherung aufgerufen werden und Wiederherstellen von Infrastrukturcode in SharePoint Foundation.