다음을 통해 공유


SearchAdminDatabase.OnPreRestore Method

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.Object

    The database object that is to be restored.

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.

See Also

Reference

SearchAdminDatabase Class

SearchAdminDatabase Members

Microsoft.Office.Server.Search.Administration Namespace