共用方式為


IisWebServiceBackupBehaviorAttribute.OnPreRestore method

系統會在準備還原時所呼叫的方法。

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

Syntax

'宣告
Public Overridable Function OnPreRestore ( _
    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.OnPreRestore(sender, _
    args)
public virtual bool OnPreRestore(
    Object sender,
    SPRestoreInformation args
)

參數

傳回值

Type: System.Boolean
傳回 Boolean

備註

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

請參閱

參照

IisWebServiceBackupBehaviorAttribute class

IisWebServiceBackupBehaviorAttribute members

Microsoft.SharePoint.Administration namespace