共用方式為


SPIisWebServiceEndpoint.IBackupRestore.OnPrepareBackup method

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

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

Syntax

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

returnValue = CType(instance, IBackupRestore).OnPrepareBackup(sender, _
    info)
boolIBackupRestore.OnPrepareBackup(
    Object sender,
    SPBackupInformation info
)

參數

傳回值

Type: System.Boolean
傳回 Boolean

Implements

IBackupRestore.OnPrepareBackup(Object, SPBackupInformation)

備註

另請參閱Microsoft#SharePoint#Administration#Backup#IBackupRestore#OnPrepareBackup(Object, SPBackupInformation)

請參閱

參照

SPIisWebServiceEndpoint class

SPIisWebServiceEndpoint members

Microsoft.SharePoint.Administration namespace