Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
id
Type: System.GuidThe Guid ID of the SPBackupRestoreConsoleObject that represents the backup or restore operation that is aborted.
Return Value
Type: System.Boolean
true if the operation is successfully cancelled; otherwise, false.