다음을 통해 공유


SPJobDefinition.OnAbort method

Called when a user cancels the operation.

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

Syntax

'Declaration
Public Overridable Function OnAbort ( _
    sender As Object, _
    info As SPBackupRestoreInformation _
) As Boolean
'Usage
Dim instance As SPJobDefinition
Dim sender As Object
Dim info As SPBackupRestoreInformation
Dim returnValue As Boolean

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

Parameters

Return value

Type: System.Boolean
true when the cancellation is complete.

Implements

IBackupRestore.OnAbort(Object, SPBackupRestoreInformation)

Remarks

This method should be called only by the backup/restore process.

See also

Reference

SPJobDefinition class

SPJobDefinition members

Microsoft.SharePoint.Administration namespace