共用方式為


SPIisWebServiceEndpoint.IBackupRestore.OnPreRestore method

系統會準備還原作業時,會呼叫事件。

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

Syntax

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

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

參數

傳回值

Type: System.Boolean
傳回 Boolean

Implements

IBackupRestore.OnPreRestore(Object, SPRestoreInformation)

備註

另請參閱Microsoft#SharePoint#Administration#Backup#IBackupRestore#OnPreRestore(Object, SPRestoreInformation)

請參閱

參照

SPIisWebServiceEndpoint class

SPIisWebServiceEndpoint members

Microsoft.SharePoint.Administration namespace