IisWebServiceBackupBehaviorAttribute.OnBackup method
當備份系統,就會呼叫方法。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overridable Function OnBackup ( _
sender As Object, _
args As SPBackupInformation _
) As Boolean
'用途
Dim instance As IisWebServiceBackupBehaviorAttribute
Dim sender As Object
Dim args As SPBackupInformation
Dim returnValue As Boolean
returnValue = instance.OnBackup(sender, _
args)
public virtual bool OnBackup(
Object sender,
SPBackupInformation args
)
參數
sender
Type: System.Object呼叫此事件物件。
args
Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformation物件的備份資訊。
傳回值
Type: System.Boolean
傳回 Boolean。
備註
此函數不應該呼叫的備份/還原程序以外的任何項目。
請參閱
參照
IisWebServiceBackupBehaviorAttribute class