SPSolutionLanguagePack.IBackupRestore.OnBackup method
會引發備份事件。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Private Function OnBackup ( _
sender As Object, _
info As SPBackupInformation _
) As Boolean Implements IBackupRestore.OnBackup
'用途
Dim instance As SPSolutionLanguagePack
Dim sender As Object
Dim info As SPBackupInformation
Dim returnValue As Boolean
returnValue = CType(instance, IBackupRestore).OnBackup(sender, _
info)
boolIBackupRestore.OnBackup(
Object sender,
SPBackupInformation info
)
參數
sender
Type: System.Object表示要備份的語言套件的物件。
info
Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformation包含事件的相關資料SPBackupInformation物件。
傳回值
Type: System.Boolean
true如果成功 ;否則,請false。
Implements
IBackupRestore.OnBackup(Object, SPBackupInformation)
備註
這項實作一律會傳回true。
這個成員是明確介面成員實作。只有當SPSolutionLanguagePack執行個體轉換成IBackupRestore介面時,才可以使用它。
此方法僅適用對象呼叫重大災害備份及還原SharePoint Foundation中的基礎結構程式碼。