다음을 통해 공유


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