共用方式為


IisWebServiceBackupBehaviorAttribute.OnAbort method

備份系統停止因任何原因時,就會呼叫方法。

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

Syntax

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

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

參數

  • sender
    Type: System.Object

    導致事件發生的控制項的相關資料。

傳回值

Type: System.Boolean
傳回 Boolean

備註

此函數不應該呼叫的備份/還原程序以外的任何項目。

請參閱

參照

IisWebServiceBackupBehaviorAttribute class

IisWebServiceBackupBehaviorAttribute members

Microsoft.SharePoint.Administration namespace