SPDiagnosticsServiceBase.OnBackup-Methode
Löst das Ereignis Sicherung aus.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Function OnBackup ( _
sender As Object, _
info As SPBackupInformation _
) As Boolean
'Usage
Dim instance As SPDiagnosticsServiceBase
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
)
Parameter
sender
Typ: System.ObjectDas Objekt, das die SPDiagnosticsServiceBase darstellt, die gesichert wird.
info
Typ: Microsoft.SharePoint.Administration.Backup.SPBackupInformationEin SPBackupInformation -Objekt, das Daten über das Ereignis enthält.
Rückgabewert
Typ: System.Boolean
true bei erfolgreicher; andernfalls false.
Implementiert
IBackupRestore.OnBackup(Object, SPBackupInformation)
Hinweise
Diese Implementierung immer "true" zurückgibt.
Diese Methode ist nur für die direkte Verwendung von schwerwiegenden Sicherung aufgerufen werden und Wiederherstellen von Infrastrukturcode in SharePoint Foundation.
Siehe auch
Referenz
SPDiagnosticsServiceBase Klasse