SPUserCodeProvider.OnBackupComplete - Méthode
Déclenche l'événement BackupComplete .
Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Function OnBackupComplete ( _
sender As Object, _
info As SPBackupInformation _
) As Boolean
'Utilisation
Dim instance As SPUserCodeProvider
Dim sender As Object
Dim info As SPBackupInformation
Dim returnValue As Boolean
returnValue = instance.OnBackupComplete(sender, _
info)
public bool OnBackupComplete(
Object sender,
SPBackupInformation info
)
Paramètres
sender
Type : System.ObjectL'objet qui appelle cette méthode.
info
Type : Microsoft.SharePoint.Administration.Backup.SPBackupInformationLes informations de sauvegarde pour l'objet.
Valeur renvoyée
Type : System.Boolean
true si l'opération réussit ; dans le cas contraire, false.
Implémentations
IBackupRestore.OnBackupComplete(Object, SPBackupInformation)
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.