共用方式為


SPDiagnosticsServiceBase.OnBackupComplete method

會引發 BackupComplete 事件。

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

Syntax

'宣告
Public Overridable Function OnBackupComplete ( _
    sender As Object, _
    info As SPBackupInformation _
) As Boolean
'用途
Dim instance As SPDiagnosticsServiceBase
Dim sender As Object
Dim info As SPBackupInformation
Dim returnValue As Boolean

returnValue = instance.OnBackupComplete(sender, _
    info)
public virtual bool OnBackupComplete(
    Object sender,
    SPBackupInformation info
)

參數

  • sender
    Type: System.Object

    代表備份SPDiagnosticsServiceBase物件。

傳回值

Type: System.Boolean
true如果成功 ;否則,請false。

Implements

IBackupRestore.OnBackupComplete(Object, SPBackupInformation)

備註

這項實作一律會傳回true。

此方法僅適用對象呼叫重大災害備份及還原SharePoint Foundation中的基礎結構程式碼。

請參閱

參照

SPDiagnosticsServiceBase class

SPDiagnosticsServiceBase members

Microsoft.SharePoint.Administration namespace