SPSolution.IBackupRestore.OnAbort method
當使用者取消作業,會呼叫備份與還原基礎結構中的事件。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Private Function OnAbort ( _
sender As Object, _
info As SPBackupRestoreInformation _
) As Boolean Implements IBackupRestore.OnAbort
'用途
Dim instance As SPSolution
Dim sender As Object
Dim info As SPBackupRestoreInformation
Dim returnValue As Boolean
returnValue = CType(instance, IBackupRestore).OnAbort(sender, _
info)
boolIBackupRestore.OnAbort(
Object sender,
SPBackupRestoreInformation info
)
參數
sender
Type: System.Object呼叫事件物件。
info
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreInformation解決方案的備份及還原資訊。
傳回值
Type: System.Boolean
會傳回true備份與還原已中止 ; 如果否則,請false否則。
Implements
IBackupRestore.OnAbort(Object, SPBackupRestoreInformation)
備註
只應該備份與還原程序來呼叫此函數。