共用方式為


IisWebServiceBackupBehaviorAttribute.OnRestore method

還原系統時所呼叫的方法。

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

Syntax

'宣告
Public Overridable Function OnRestore ( _
    sender As Object, _
    args As SPRestoreInformation _
) As Boolean
'用途
Dim instance As IisWebServiceBackupBehaviorAttribute
Dim sender As Object
Dim args As SPRestoreInformation
Dim returnValue As Boolean

returnValue = instance.OnRestore(sender, _
    args)
public virtual bool OnRestore(
    Object sender,
    SPRestoreInformation args
)

參數

傳回值

Type: System.Boolean
傳回 Boolean

備註

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

請參閱

參照

IisWebServiceBackupBehaviorAttribute class

IisWebServiceBackupBehaviorAttribute members

Microsoft.SharePoint.Administration namespace