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