SPJobDefinition.OnPreRestore - Méthode
Appelée lorsque le système se prépare à restaurer une sauvegarde.
Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Overridable Function OnPreRestore ( _
sender As Object, _
info As SPRestoreInformation _
) As Boolean
'Utilisation
Dim instance As SPJobDefinition
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean
returnValue = instance.OnPreRestore(sender, _
info)
public virtual bool OnPreRestore(
Object sender,
SPRestoreInformation info
)
Paramètres
sender
Type : System.ObjectSource de l'événement.
info
Type : Microsoft.SharePoint.Administration.Backup.SPRestoreInformationLes informations de sauvegarde pour cet objet.
Valeur renvoyée
Type : System.Boolean
true en cas de réussite.
Implémentations
IBackupRestore.OnPreRestore(Object, SPRestoreInformation)