SPWebApplication.OnPostRestore method
會引發 PostRestore 事件。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function OnPostRestore ( _
sender As Object, _
info As SPRestoreInformation _
) As Boolean
'用途
Dim instance As SPWebApplication
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean
returnValue = instance.OnPostRestore(sender, _
info)
public bool OnPostRestore(
Object sender,
SPRestoreInformation info
)
參數
sender
Type: System.ObjectSPWebApplication ,要還原。
info
Type: Microsoft.SharePoint.Administration.Backup.SPRestoreInformation包含事件的相關資料SPRestoreInformation物件。
傳回值
Type: System.Boolean
true如果成功 ;否則,請false。
Implements
IBackupRestore.OnPostRestore(Object, SPRestoreInformation)
備註
此方法僅適用對象呼叫SharePoint Foundation重大災害備份及還原基礎結構的程式碼。