SPSecurityTokenServiceManager.IBackupRestore.OnBackup 方法

正在备份系统时,将调用事件。

命名空间:  Microsoft.SharePoint.Administration.Claims
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Private Function OnBackup ( _
    sender As Object, _
    args As SPBackupInformation _
) As Boolean Implements IBackupRestore.OnBackup
用法
Dim instance As SPSecurityTokenServiceManager
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
)

参数

返回值

类型:System.Boolean
true如果成功 ;否则为false。

实现

IBackupRestore.OnBackup(Object, SPBackupInformation)

另请参阅

引用

SPSecurityTokenServiceManager 类

SPSecurityTokenServiceManager 成员

Microsoft.SharePoint.Administration.Claims 命名空间