SPSecurityTokenServiceManager.IBackupRestore.OnPrepareBackup 方法
系统正在准备备份操作时,将调用该事件。
命名空间: Microsoft.SharePoint.Administration.Claims
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Private Function OnPrepareBackup ( _
sender As Object, _
args As SPBackupInformation _
) As Boolean Implements IBackupRestore.OnPrepareBackup
用法
Dim instance As SPSecurityTokenServiceManager
Dim sender As Object
Dim args As SPBackupInformation
Dim returnValue As Boolean
returnValue = CType(instance, IBackupRestore).OnPrepareBackup(sender, _
args)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
boolIBackupRestore.OnPrepareBackup(
Object sender,
SPBackupInformation args
)
参数
sender
类型:System.Object正在调用该事件的对象。
args
类型:Microsoft.SharePoint.Administration.Backup.SPBackupInformationSPBackupRestoreInformation对象,该对象包含有关该事件的数据。
返回值
类型:System.Boolean
true如果成功,则备份已准备好否则为false。
实现
IBackupRestore.OnPrepareBackup(Object, SPBackupInformation)
另请参阅
引用
SPSecurityTokenServiceManager 类