SPJobDefinition.OnPreRestore 方法

当系统正在准备还原备份时调用。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Overridable Function OnPreRestore ( _
    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.OnPreRestore(sender, _
    info)
public virtual bool OnPreRestore(
    Object sender,
    SPRestoreInformation info
)

参数

返回值

类型:System.Boolean
true如果成功。

实现

IBackupRestore.OnPreRestore(Object, SPRestoreInformation)

另请参阅

引用

SPJobDefinition 类

SPJobDefinition 成员

Microsoft.SharePoint.Administration 命名空间