共用方式為


SPContentDatabase.OnPostRestore method (Object, SPRestoreInformation)

會引發 PostRestore 事件。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
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
)

參數

傳回值

Type: System.Boolean
true如果成功 ;否則,請false。

Implements

IBackupRestore.OnPostRestore(Object, SPRestoreInformation)

備註

此方法僅適用對象呼叫重大災害備份及還原SharePoint Foundation中的基礎結構程式碼。

只有當時的備份資料來源的備份複本還原基礎結構由呼叫此超載的狀況。如果來源是資料庫的快照,會呼叫多載OnPostRestore(SPDatabaseSnapshotRestoreEvent)

請參閱

參照

SPContentDatabase class

SPContentDatabase members

OnPostRestore overload

Microsoft.SharePoint.Administration namespace