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