SPContentDatabase.OnPostRestore 方法 (Object, SPRestoreInformation)

引发 PostRestore 事件。

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

语法

声明
Public Overrides Function OnPostRestore ( _
    sender As Object, _
    args As SPRestoreInformation _
) As Boolean
用法
Dim instance As SPContentDatabase
Dim sender As Object
Dim args As SPRestoreInformation
Dim returnValue As Boolean

returnValue = instance.OnPostRestore(sender, _
    args)
public override bool OnPostRestore(
    Object sender,
    SPRestoreInformation args
)

参数

返回值

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

实现

IBackupRestore.OnPostRestore(Object, SPRestoreInformation)

备注

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

此重载仅当源备份数据的备份副本的还原操作基础结构调用。如果源数据库的快照,请调用重载OnPostRestore(SPDatabaseSnapshotRestoreEvent)

另请参阅

引用

SPContentDatabase 类

SPContentDatabase 成员

OnPostRestore 重载

Microsoft.SharePoint.Administration 命名空间