SPJobDefinition.OnPostRestore 方法
系统完成时调用还原备份。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Overridable Function OnPostRestore ( _
sender As Object, _
info As SPRestoreInformation _
) As Boolean
用法
Dim instance As SPJobDefinition
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean
returnValue = instance.OnPostRestore(sender, _
info)
public virtual bool OnPostRestore(
Object sender,
SPRestoreInformation info
)
参数
sender
类型:System.Object事件的源。
info
类型:Microsoft.SharePoint.Administration.Backup.SPRestoreInformation此对象的备份信息。
返回值
类型:System.Boolean
true如果成功。
实现
IBackupRestore.OnPostRestore(Object, SPRestoreInformation)