次の方法で共有


SPClaimProviderManager.IBackupRestore.OnBackup method

An event that is called when the system is being backed up.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Private Function OnBackup ( _
    sender As Object, _
    args As SPBackupInformation _
) As Boolean Implements IBackupRestore.OnBackup
'Usage
Dim instance As SPClaimProviderManager
Dim sender As Object
Dim args As SPBackupInformation
Dim returnValue As Boolean

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

Parameters

  • sender
    Type: System.Object

    The object that is called the event.

Return value

Type: System.Boolean
true if successful; otherwise, false.

Implements

IBackupRestore.OnBackup(Object, SPBackupInformation)

See also

Reference

SPClaimProviderManager class

SPClaimProviderManager members

Microsoft.SharePoint.Administration.Claims namespace