Share via


SPContentDatabase.OnPrepareBackup-Methode

Löst das PrepareBackup-Ereignis aus.

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

Syntax

'Declaration
Public Overrides Function OnPrepareBackup ( _
    sender As Object, _
    info As SPBackupInformation _
) As Boolean
'Usage
Dim instance As SPContentDatabase
Dim sender As Object
Dim info As SPBackupInformation
Dim returnValue As Boolean

returnValue = instance.OnPrepareBackup(sender, _
    info)
public override bool OnPrepareBackup(
    Object sender,
    SPBackupInformation info
)

Parameter

Rückgabewert

Typ: System.Boolean
true bei erfolgreicher; andernfalls false.

Implementiert

IBackupRestore.OnPrepareBackup(Object, SPBackupInformation)

Hinweise

Diese Methode ist nur für die direkte Verwendung von schwerwiegenden Sicherung aufgerufen werden und Wiederherstellen von Infrastrukturcode in SharePoint Foundation.

Siehe auch

Referenz

SPContentDatabase Klasse

SPContentDatabase-Member

Microsoft.SharePoint.Administration-Namespace