Partager via


SPClaimProviderManager.IBackupRestore.OnPreRestore - Méthode

L'événement est appelé lorsque le système se prépare à une opération de restauration.

Espace de noms :  Microsoft.SharePoint.Administration.Claims
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Private Function OnPreRestore ( _
    sender As Object, _
    args As SPRestoreInformation _
) As Boolean Implements IBackupRestore.OnPreRestore
'Utilisation
Dim instance As SPClaimProviderManager
Dim sender As Object
Dim args As SPRestoreInformation
Dim returnValue As Boolean

returnValue = CType(instance, IBackupRestore).OnPreRestore(sender, _
    args)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
boolIBackupRestore.OnPreRestore(
    Object sender,
    SPRestoreInformation args
)

Paramètres

  • sender
    Type : System.Object

    L'objet qui est l'appel de cet événement.

Valeur renvoyée

Type : System.Boolean
true si la restauration est préparée avec succès ; dans le cas contraire, false.

Implémentations

IBackupRestore.OnPreRestore(Object, SPRestoreInformation)

Voir aussi

Référence

SPClaimProviderManager classe

SPClaimProviderManager - Membres

Microsoft.SharePoint.Administration.Claims - Espace de noms