共用方式為


SPSolution.IBackupRestore.OnPostRestore method

完成系統時所呼叫的事件還原。

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

Syntax

'宣告
Private Function OnPostRestore ( _
    sender As Object, _
    info As SPRestoreInformation _
) As Boolean Implements IBackupRestore.OnPostRestore
'用途
Dim instance As SPSolution
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean

returnValue = CType(instance, IBackupRestore).OnPostRestore(sender, _
    info)
boolIBackupRestore.OnPostRestore(
    Object sender,
    SPRestoreInformation info
)

參數

傳回值

Type: System.Boolean
會傳回true如果順利完成還原 ;否則,請false。

Implements

IBackupRestore.OnPostRestore(Object, SPRestoreInformation)

備註

此函數不應該呼叫來備份與還原程序以外的任何項目。

請參閱

參照

SPSolution class

SPSolution members

Microsoft.SharePoint.Administration namespace