系统完成后将调用该事件还原。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Private Function OnPostRestore ( _
sender As Object, _
info As SPRestoreInformation _
) As Boolean Implements IBackupRestore.OnPostRestore
用法
Dim instance As SPSolution
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean
returnValue = CType(instance, IBackupRestore).OnPostRestore(sender, _
info)
boolIBackupRestore.OnPostRestore(
Object sender,
SPRestoreInformation info
)
参数
sender
类型:System.Object调用此事件的对象。
info
类型:Microsoft.SharePoint.Administration.Backup.SPRestoreInformation有关该解决方案的恢复信息。
返回值
类型:System.Boolean
返回true如果还原已成功完成。否则为false。
实现
IBackupRestore.OnPostRestore(Object, SPRestoreInformation)
备注
此函数不应调用任何除备份和还原过程。