SPSecurityTokenServiceManager.IBackupRestore.OnBackupComplete method
當系統已完成的備份與還原程序會呼叫事件。
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Private Function OnBackupComplete ( _
sender As Object, _
args As SPBackupInformation _
) As Boolean Implements IBackupRestore.OnBackupComplete
'用途
Dim instance As SPSecurityTokenServiceManager
Dim sender As Object
Dim args As SPBackupInformation
Dim returnValue As Boolean
returnValue = CType(instance, IBackupRestore).OnBackupComplete(sender, _
args)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
boolIBackupRestore.OnBackupComplete(
Object sender,
SPBackupInformation args
)
參數
sender
Type: System.Object呼叫事件物件。
args
Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformation包含事件的相關資料SPBackupRestoreInformation物件。
傳回值
Type: System.Boolean
true備份已順利完成 ;否則,請false。
Implements
IBackupRestore.OnBackupComplete(Object, SPBackupInformation)
請參閱
參照
SPSecurityTokenServiceManager class