SPBackupRestoreConsole.Abort method
會取消備份或還原作業,以指定的識別碼。
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function Abort ( _
id As Guid _
) As Boolean
'用途
Dim id As Guid
Dim returnValue As Boolean
returnValue = SPBackupRestoreConsole.Abort(id)
public static bool Abort(
Guid id
)
參數
id
Type: System.GuidGuidSPBackupRestoreConsoleObject表示備份或已中止的還原作業的識別碼。
傳回值
Type: System.Boolean
true成功取消作業 ; 如果否則,請false。