共用方式為


SPSolution.IBackupRestore.OnRestore method

還原系統時,會呼叫事件。

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

Syntax

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

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

參數

傳回值

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

Implements

IBackupRestore.OnRestore(Object, SPRestoreInformation)

備註

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

請參閱

參照

SPSolution class

SPSolution members

Microsoft.SharePoint.Administration namespace