SPJobDefinition.OnPrepareBackup method
呼叫時系統準備備份作業。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overridable Function OnPrepareBackup ( _
sender As Object, _
info As SPBackupInformation _
) As Boolean
'用途
Dim instance As SPJobDefinition
Dim sender As Object
Dim info As SPBackupInformation
Dim returnValue As Boolean
returnValue = instance.OnPrepareBackup(sender, _
info)
public virtual bool OnPrepareBackup(
Object sender,
SPBackupInformation info
)
參數
sender
Type: System.Object事件的來源。
info
Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformation此物件的備份資訊。
傳回值
Type: System.Boolean
true如果成功。
Implements
IBackupRestore.OnPrepareBackup(Object, SPBackupInformation)