共用方式為


SPBackupRestoreConsole.Abort Method

Cancels the backup or restore operation with the specified ID.

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

Syntax

'Declaration
Public Shared Function Abort ( _
    id As Guid _
) As Boolean
'Usage
Dim id As Guid
Dim returnValue As Boolean

returnValue = SPBackupRestoreConsole.Abort(id)
public static bool Abort(
    Guid id
)

Parameters

Return Value

Type: System.Boolean
true if the operation is successfully cancelled; otherwise, false.

See Also

Reference

SPBackupRestoreConsole Class

SPBackupRestoreConsole Members

Microsoft.SharePoint.Administration.Backup Namespace