Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides the method that is called before the restore operation starts.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Overrides Function OnPreRestore ( _
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.OnPreRestore(sender, _
args)
public override bool OnPreRestore(
Object sender,
SPRestoreInformation args
)
Parameters
sender
Type: System.ObjectThe database object that is to be 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.OnPreRestore(Object, SPRestoreInformation)
Remarks
This method overrides the OnPreRestore(Object, SPRestoreInformation) method in the IBackupRestore interface.