SPSolutionLanguagePack.IBackupRestore.OnRestore 方法
引发还原事件。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Private Function OnRestore ( _
sender As Object, _
info As SPRestoreInformation _
) As Boolean Implements IBackupRestore.OnRestore
用法
Dim instance As SPSolutionLanguagePack
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean
returnValue = CType(instance, IBackupRestore).OnRestore(sender, _
info)
boolIBackupRestore.OnRestore(
Object sender,
SPRestoreInformation info
)
参数
sender
类型:System.Object一个对象,表示正在还原的语言包。
info
类型:Microsoft.SharePoint.Administration.Backup.SPRestoreInformationSPRestoreInformation对象,该对象包含有关该事件的数据。
返回值
类型:System.Boolean
true如果成功 ;否则为false。
实现
IBackupRestore.OnRestore(Object, SPRestoreInformation)
备注
此实现总是返回true。
此成员是显式接口成员实现。仅在SPSolutionLanguagePack实例被强制转换为IBackupRestore接口时,才可以使用它。
此方法仅用于调用从灾难性的备份和恢复基础结构代码在SharePoint Foundation中。