SPUserCodeProvider.OnPostRestore - Méthode
Déclenche l'événement PostRestore .
Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Function OnPostRestore ( _
sender As Object, _
info As SPRestoreInformation _
) As Boolean
'Utilisation
Dim instance As SPUserCodeProvider
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean
returnValue = instance.OnPostRestore(sender, _
info)
public bool OnPostRestore(
Object sender,
SPRestoreInformation info
)
Paramètres
sender
Type : System.ObjectL'objet qui appelle cette méthode.
info
Type : Microsoft.SharePoint.Administration.Backup.SPRestoreInformationLes informations de restauration de l'objet.
Valeur renvoyée
Type : System.Boolean
true si l'opération réussit ; dans le cas contraire, false.
Implémentations
IBackupRestore.OnPostRestore(Object, SPRestoreInformation)
Remarques
Cette implémentation retourne toujours true.
Cette méthode est uniquement destinée à être appelé à partir d'une sauvegarde catastrophique et restaurer les code d'infrastructure dans SharePoint Foundation.