系统正在准备执行还原操作时,将调用该事件。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Private Function OnPreRestore ( _
sender As Object, _
info As SPRestoreInformation _
) As Boolean Implements IBackupRestore.OnPreRestore
用法
Dim instance As SPIisWebServiceEndpoint
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean
returnValue = CType(instance, IBackupRestore).OnPreRestore(sender, _
info)
boolIBackupRestore.OnPreRestore(
Object sender,
SPRestoreInformation info
)
参数
- sender
类型:System.Object
返回值
类型:System.Boolean
返回 Boolean。
实现
IBackupRestore.OnPreRestore(Object, SPRestoreInformation)
备注
请参阅Microsoft#SharePoint#Administration#Backup#IBackupRestore#OnPreRestore(Object, SPRestoreInformation)。