共用方式為


SPWebApplication.OnAbort method

引發中止 (備份) 的事件。

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

Syntax

'宣告
Public Function OnAbort ( _
    sender As Object, _
    args As SPBackupRestoreInformation _
) As Boolean
'用途
Dim instance As SPWebApplication
Dim sender As Object
Dim args As SPBackupRestoreInformation
Dim returnValue As Boolean

returnValue = instance.OnAbort(sender, _
    args)
public bool OnAbort(
    Object sender,
    SPBackupRestoreInformation args
)

參數

傳回值

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

Implements

IBackupRestore.OnAbort(Object, SPBackupRestoreInformation)

備註

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

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace