SPWebApplication.OnPreRestore 方法

引发 PreRestore 事件。

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

语法

声明
Public Function OnPreRestore ( _
    sender As Object, _
    info As SPRestoreInformation _
) As Boolean
用法
Dim instance As SPWebApplication
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean

returnValue = instance.OnPreRestore(sender, _
    info)
public bool OnPreRestore(
    Object sender,
    SPRestoreInformation info
)

参数

返回值

类型:System.Boolean
true如果成功 ;否则为false。

实现

IBackupRestore.OnPreRestore(Object, SPRestoreInformation)

备注

此方法仅用于调用从SharePoint Foundation灾难备份和恢复基础结构代码。

另请参阅

引用

SPWebApplication 类

SPWebApplication 成员

Microsoft.SharePoint.Administration 命名空间