SearchAdminDatabase.OnPostRestore method
Provides the method called after the restore operation has been completed.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Overrides Function OnPostRestore ( _
sender As Object, _
args As SPRestoreInformation _
) As Boolean
'Usage
Dim instance As SearchAdminDatabase
Dim sender As Object
Dim args As SPRestoreInformation
Dim returnValue As Boolean
returnValue = instance.OnPostRestore(sender, _
args)
public override bool OnPostRestore(
Object sender,
SPRestoreInformation args
)
Parameters
sender
Type: System.ObjectThe database object that has been restored.
args
Type: Microsoft.SharePoint.Administration.Backup.SPRestoreInformationThe information about the restore operation.
Return value
Type: System.Boolean
true if successful; otherwise, false.
Implements
IBackupRestore.OnPostRestore(Object, SPRestoreInformation)
Remarks
This method implements the OnPostRestore(Object, SPRestoreInformation) method defined in the IBackupRestore interface.