共用方式為


SPJobDefinition.OnPreRestore method

當系統準備還原備份時呼叫。

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

Syntax

'宣告
Public Overridable Function OnPreRestore ( _
    sender As Object, _
    info As SPRestoreInformation _
) As Boolean
'用途
Dim instance As SPJobDefinition
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean

returnValue = instance.OnPreRestore(sender, _
    info)
public virtual bool OnPreRestore(
    Object sender,
    SPRestoreInformation info
)

參數

傳回值

Type: System.Boolean
true如果成功。

Implements

IBackupRestore.OnPreRestore(Object, SPRestoreInformation)

請參閱

參照

SPJobDefinition class

SPJobDefinition members

Microsoft.SharePoint.Administration namespace