SPAlternateUrlCollection.OnPreRestore 方法

引发 PreRestore 事件。

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

语法

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

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

参数

  • sender
    类型:System.Object

    一个对象,表示要还原的集合。

返回值

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

实现

IBackupRestore.OnPreRestore(Object, SPRestoreInformation)

备注

此方法始终返回true。

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

另请参阅

引用

SPAlternateUrlCollection 类

SPAlternateUrlCollection 成员

Microsoft.SharePoint.Administration 命名空间