SPSolution.IBackupRestore.OnPostRestore - Méthode
L'événement est appelé lorsque le système a terminé la restauration.
Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Private Function OnPostRestore ( _
sender As Object, _
info As SPRestoreInformation _
) As Boolean Implements IBackupRestore.OnPostRestore
'Utilisation
Dim instance As SPSolution
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean
returnValue = CType(instance, IBackupRestore).OnPostRestore(sender, _
info)
boolIBackupRestore.OnPostRestore(
Object sender,
SPRestoreInformation info
)
Paramètres
sender
Type : System.ObjectL'objet de l'appel de cet événement.
info
Type : Microsoft.SharePoint.Administration.Backup.SPRestoreInformationLes informations de restauration sur la solution.
Valeur renvoyée
Type : System.Boolean
Retourne true si la restauration a été effectuée avec succès ; dans le cas contraire, false.
Implémentations
IBackupRestore.OnPostRestore(Object, SPRestoreInformation)
Remarques
Cette fonction ne doit pas être appelée par n'importe quoi, à l'exception du processus de sauvegarde et de restauration.